ResetPlayerHudComponentProperty
Jump to navigation
Jump to search
Syntax
bool resetPlayerHudComponentProperty (string component, string property)
OOP Syntax Help! I don't understand this!
- Method: player:getHudComponentProperty(...)
- Counterpart: setPlayerHudComponentProperty
Required Arguments
- component: The component whose property you want to reset. See HUD Components.
- property: The name of the property you want to reset. See HUD Properties.
Returns
Returns true if successful, false otherwise.
Example
resetPlayerHudComponentProperty('clock', 'fillColor')
It’s also possible to use all to reset all properties of a specific component or all properties of all components (the entire HUD).
resetPlayerHudComponentProperty("all", "all") -- resets entire hud resetPlayerHudComponentProperty("money", "all") -- resets all properties for money component
See Also
- getLocalPlayer
- getPlayerMapBoundingBox
- getPlayerMapOpacity
- isPlayerMapVisible
- isPlayerHudComponentVisible
- resetBlurLevel
- Shared
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState