HideWeapon

The information on this page was taken from mahnsawce's post on the modns.org forums.

Byte
Weapon state

I'm getting some really weird results for HideWeapon(1). It's sent at times like entering/exit command mode, being webbed, and gestating, however if you JUST send the message to a player, weird results occur.

Send the byte as 0, their hud goes back to normal.
Send it as 1, and their crosshair and (if marine) ammunition vanish.
Send it as 2 and their health vanishes.
Send it as 9 (What's sent when you go comm/gestate) and both vanish, but for aliens the HUD begins to really get messed up. It's almost as if you're outside of the map...

However, for all values over 0, the weapon itself still remains, and is fully functional, but all slot commands will not work. But a player can change weapons with the 'weapon_name' command (ie: weapon_knife). Setting the value to 0 will reset the weapon list/ slot commands.