HUDClient

customMinimapSetActive

CUSTOM_MINIMAP_SET_ACTIVE0x5354C5BA2EA868A4

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

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

Usage

JavaScript
customMinimapSetActive(toggle);
Lua
customMinimapSetActive(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 toggle is true, the map is shown in full screen
If toggle is false, the map is shown in normal mode

Reference

Namespace
HUD HUD
In the game
void CUSTOM_MINIMAP_SET_ACTIVE(BOOL toggle)
Hash
0x5354C5BA2EA868A4
Formerly
_SET_MAP_FULL_SCREEN _RACE_GALLERY_FULLSCREEN

Open in the interactive natives reference