displayHud
DISPLAY_HUD0xA6294919E56FF02AThe GTA V native DISPLAY_HUD of the HUD namespace, as LS:MP client scripts call it: the global function displayHud, in JavaScript and in Lua.
displayHud(toggle: boolean): voiddisplayHud(toggle: boolean)Usage
JavaScript
displayHud(toggle);Lua
displayHud(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
If Hud should be displayed
Reference
- Namespace
- HUD HUD
- In the game
void DISPLAY_HUD(BOOL toggle)- Hash
0xA6294919E56FF02A