Raised This Month: $51 Target: $400
 12% 

Hide HUD but keep Chat GOTV


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lemeshovich
Member
Join Date: Jun 2011
Old 03-21-2018 , 15:50   Hide HUD but keep Chat GOTV
Reply With Quote #1

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
lemeshovich is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode