resetPlayerHudComponentProperty | Multi Theft Auto: Wiki Skip to content

resetPlayerHudComponentProperty

Client-side
Server-side
Shared

Pair: setPlayerHudComponentProperty

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function resets the specified property to its default value.

OOP Syntax Help! I don't understand this!

  • Method:player:getHudComponentProperty(...)

Syntax

bool resetPlayerHudComponentProperty ( string component, string property )
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

  • bool: value

Returns true if successful, false otherwise.

Code Examples

shared
resetPlayerHudComponentProperty('clock', 'fillColor')

See Also