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
- any item –
itemisHUD_ARMOUR HUD_CLOCK HUD_HEALTH HUD_MONEY HUD_RADAR HUD_WANTED HUD_WEAPON. - bool value
Example
function onScriptLoad()
{
SetHUDItemEnabled( 0, true );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- GetScreenWidth
- WorldPosToScreen
- ScreenPosToWorld
- GetGroundZLevel
- GetGroundZLevelForPos
- GetGroundZLevelForPosLoad
- Draw3DText
- Draw3DSprite
- Draw3DTextWorld
- Draw3DSpriteWorld
- SetCameraMatrix
- SetCameraTarget
Section: Screen, world and camera
Categories: Client functions | Screen, world and camera