Scripting/Client/Functions/SetHUDItemEnabled

item is HUD_ARMOUR HUD_CLOCK HUD_HEALTH HUD_MONEY HUD_RADAR HUD_WANTED HUD_WEAPON.

Syntax

SetHUDItemEnabled(item, bool)
GetHUDItemEnabled(item)

Arguments

Example

function onScriptLoad()
{
	SetHUDItemEnabled( 0, true );
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Screen, world and camera

Categories: Client functions | Screen, world and camera