hide_hud_elements

Синтаксис

stock hide_hud_elements(id, HideElemenentFlags:elements, bool:noadd = true, bool:reliable = true)

Употреба

id
Client index or 0 for all clients
elements
HUD elements to hide. The names are self-explanatory:
  HideElement_Cross_Ammo_WPNList
  HideElement_Flashlight (+)
  HideElement_All
  HideElement_Radar_Health_Armor (+)
  HideElement_Timer (+)
  HideElement_Money (+)
  HideElement_Crosshair
noadd
If set to false and the chosen element names have
a "+" sign, an additional crosshair will be drawn.
reliable
If true, the message will be sent via the reliable
channel, otherwise it will use the unreliable one

Описание

Hides specific elements from the HUD.

Забележка

The symbol + means that an additional crosshair will be drawn.
This crosshair looks not like the regular one, but like the one that
is drawn in spectator mode. You can remove this crosshair by setting
the "noadd" argument to "true".

Връщаща стойност

0 if "id" is non-zero and the client isn't connected,
1 otherwise