StreamingClient

setMapdatacullboxEnabled

SET_MAPDATACULLBOX_ENABLED0xAF12610C644A35C9

The 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.

SignatureJavaScript
setMapdatacullboxEnabled(name: string, toggle: boolean): void
SignatureLua
setMapdatacullboxEnabled(name: string, toggle: boolean)

Usage

JavaScript
setMapdatacullboxEnabled(name, toggle);
Lua
setMapdatacullboxEnabled(name, toggle)

Parameters

ParameterTypeJavaScriptLua
namestringstringstring
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.

Possible p0 values:

"prologue"
"Prologue_Main"

Reference

Namespace
Streaming STREAMING
In the game
void SET_MAPDATACULLBOX_ENABLED(const char* name, BOOL toggle)
Hash
0xAF12610C644A35C9

Open in the interactive natives reference