HUDClient

displayRadar

DISPLAY_RADAR0xA0EBB943C300E693

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

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

Usage

JavaScript
displayRadar(toggle);
Lua
displayRadar(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 Minimap / Radar should be displayed.

Reference

Namespace
HUD HUD
In the game
void DISPLAY_RADAR(BOOL toggle)
Hash
0xA0EBB943C300E693

Open in the interactive natives reference