Value integer 9 is in binary 1001.
So I guess, you hide
HIDEHUD_WEAPONSELECTION and
HIDEHUD_HEALTH
Don't know is this chart accurate.
PHP Code:
// Hud Element hiding flags
#define HIDEHUD_WEAPONSELECTION ( 1<<0 ) // Hide ammo count & weapon selection
#define HIDEHUD_FLASHLIGHT ( 1<<1 )
#define HIDEHUD_ALL ( 1<<2 )
#define HIDEHUD_HEALTH ( 1<<3 ) // Hide health & armor / suit battery
#define HIDEHUD_PLAYERDEAD ( 1<<4 ) // Hide when local player's dead
#define HIDEHUD_NEEDSUIT ( 1<<5 ) // Hide when the local player doesn't have the HEV suit
#define HIDEHUD_MISCSTATUS ( 1<<6 ) // Hide miscellaneous status elements (trains, pickup history, death notices, etc)
#define HIDEHUD_CHAT ( 1<<7 ) // Hide all communication elements (saytext, voice icon, etc)
#define HIDEHUD_CROSSHAIR ( 1<<8 ) // Hide crosshairs
#define HIDEHUD_VEHICLE_CROSSHAIR ( 1<<9 ) // Hide vehicle crosshair
#define HIDEHUD_INVEHICLE ( 1<<10 )
#define HIDEHUD_BONUS_PROGRESS ( 1<<11 ) // Hide bonus progress display (for bonus map challenges)
#define HIDEHUD_RADAR ( 1<<12 ) // Hides the radar in CS1.5
#define HIDEHUD_MINISCOREBOARD ( 1<<13 ) // Hides the miniscoreboard in CS1.5
Try this, does it work. I don't know what you want.
PHP Code:
int bits = GetEntProp(client,Prop_Send,"m_iHideHUD");
bits |= (1<<0);
bits |= (1<<3);
SetEntProp(client,Prop_Send,"m_iHideHUD", bits) ;
__________________