HUDClientChecked by LS:MP

resetHudComponentValues

RESET_HUD_COMPONENT_VALUES0x450930E616475D0D

The GTA V native RESET_HUD_COMPONENT_VALUES of the HUD namespace, as LS:MP client scripts call it: the global function resetHudComponentValues, in JavaScript and in Lua.

SignatureJavaScript
resetHudComponentValues(id: number): void
SignatureLua
resetHudComponentValues(id: integer)

Usage

JavaScript
resetHudComponentValues(id);
Lua
resetHudComponentValues(id)

Parameters

ParameterTypeJavaScriptLua
idintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

On LS:MP

ℹ
Checked by LS:MP

id must be between 0 and 160. Otherwise the call is ignored: nothing reaches the game, and no error is raised.

Reference

Namespace
HUD HUD
In the game
void RESET_HUD_COMPONENT_VALUES(int id)
Hash
0x450930E616475D0D

Open in the interactive natives reference