setHealthHudDisplayValues
SET_HEALTH_HUD_DISPLAY_VALUES0x3F5CC444DCAAA8F2The GTA V native SET_HEALTH_HUD_DISPLAY_VALUES of the HUD namespace, as LS:MP client scripts call it: the global function setHealthHudDisplayValues, in JavaScript and in Lua.
setHealthHudDisplayValues(
health: number,
capacity: number,
wasAdded: boolean
): voidsetHealthHudDisplayValues(
health: integer,
capacity: integer,
wasAdded: boolean
)Usage
JavaScript
setHealthHudDisplayValues(health, capacity, wasAdded);Lua
setHealthHudDisplayValues(health, capacity, wasAdded)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
health | int | number | integer |
capacity | int | number | integer |
wasAdded | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void SET_HEALTH_HUD_DISPLAY_VALUES(int health, int capacity, BOOL wasAdded)- Hash
0x3F5CC444DCAAA8F2