setIslandEnabled
SET_ISLAND_ENABLED0x9A9D1BA639675CF1The GTA V native SET_ISLAND_ENABLED of the STREAMING namespace, as LS:MP client scripts call it: the global function setIslandEnabled, in JavaScript and in Lua.
setIslandEnabled(name: string, toggle: boolean): voidsetIslandEnabled(name: string, toggle: boolean)Usage
JavaScript
setIslandEnabled(name, toggle);Lua
setIslandEnabled(name, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
name | string | string | string |
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.
Enables the specified island. For more information, see islandhopper.meta
Reference
- Namespace
- Streaming STREAMING
- In the game
void SET_ISLAND_ENABLED(const char* name, BOOL toggle)- Hash
0x9A9D1BA639675CF1- Introduced
- Game build 2189 legacy numbering
- Formerly
_SET_ISLAND_HOPPER_ENABLED