setMapdatacullboxEnabled
SET_MAPDATACULLBOX_ENABLED0xAF12610C644A35C9The GTA V native SET_MAPDATACULLBOX_ENABLED of the STREAMING namespace, as LS:MP client scripts call it: the global function setMapdatacullboxEnabled, in JavaScript and in Lua.
setMapdatacullboxEnabled(name: string, toggle: boolean): voidsetMapdatacullboxEnabled(name: string, toggle: boolean)Usage
JavaScript
setMapdatacullboxEnabled(name, toggle);Lua
setMapdatacullboxEnabled(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.
Possible p0 values:
"prologue"
"Prologue_Main"
Reference
- Namespace
- Streaming STREAMING
- In the game
void SET_MAPDATACULLBOX_ENABLED(const char* name, BOOL toggle)- Hash
0xAF12610C644A35C9