Basically you are showing which flags you want hidden in the HideWeapon event.
Therefore, if you don't send any flags (0), then it doesn't have anything to hide.
Quote:
Originally Posted by .Dare Devil.
mayby this way
PHP Code:
new iFlags
iFlags |= (1<<3)
iFlags |= (1<<4)
iFlags |= (1<<5)
iFlags |= (1<<6)
if(iFlags)
{
message_begin(MSG_ONE, get_user_msgid("ShowWeapon"), _, id)
write_byte(iFlags)
message_end()
}
|
No. "HideWeapon" is an event that hides parts of the player's HUD.
http://wiki.amxmodx.org/Half-Life_1_Game_Events
__________________