HUDClient

setUseIslandMap

SET_USE_ISLAND_MAP0x5E1460624D194A38

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

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

Usage

JavaScript
setUseIslandMap(toggle);
Lua
setUseIslandMap(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.

Toggles the Cayo Perico map.

Reference

Namespace
HUD HUD
In the game
void SET_USE_ISLAND_MAP(BOOL toggle)
Hash
0x5E1460624D194A38
Introduced
Game build 2189 legacy numbering
Formerly
_SET_TOGGLE_MINIMAP_HEIST_ISLAND

Open in the interactive natives reference