HUDClient

displayHud

DISPLAY_HUD0xA6294919E56FF02A

The 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.

SignatureJavaScript
displayHud(toggle: boolean): void
SignatureLua
displayHud(toggle: boolean)

Usage

JavaScript
displayHud(toggle);
Lua
displayHud(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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

Open in the interactive natives reference