customMinimapSetActive
CUSTOM_MINIMAP_SET_ACTIVE0x5354C5BA2EA868A4The 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.
customMinimapSetActive(toggle: boolean): voidcustomMinimapSetActive(toggle: boolean)Usage
JavaScript
customMinimapSetActive(toggle);Lua
customMinimapSetActive(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 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