cl_drawhud 0
is hiding all HUD
cl_draw_only_deathnotices 1
and
cl_drawhud_force_radar 1
is hiding everything except deathnotices and radar
but i need deathnotices radar and chat to be evailable
now im trying to hide parts of gotv hud with that code
Code:
for (new i = 1; i <= MaxClients; i++) {
if (IsClientConnected(i) && IsClientInGame(i) && IsClientSourceTV(i)) {
PrintToServer("GOTV EXSIST %d", i);
SetEntProp(i, Prop_Send, "m_iHideHUD", GetEntProp(i, Prop_Send, "m_iHideHUD") | HIDEHUD_WEAPONSELECTION | HIDEHUD_HEALTH | HIDEHUD_PLAYERDEAD | HIDEHUD_NEEDSUIT | HIDEHUD_MISCSTATUS | HIDEHUD_BONUS_PROGRESS);
}
}
but looks like it works only for players
any ideas? thanks