anim_set(wepent, a, !restartanim, restartanim, restartanim);
wepent.state = ReadByte();
wepent.weapon_nextthink = ReadFloat();
- wepent.alpha = ReadByte() / 255;
switch (wepent.state)
{
case WS_RAISE:
WriteByte(channel, restartanim);
WriteByte(channel, weaponentity.state);
WriteFloat(channel, weaponentity.weapon_nextthink);
- WriteByte(channel, weaponentity.m_alpha * 255);
}
#endif