MiscClientBlocked

setInstancePriorityMode

SET_INSTANCE_PRIORITY_MODE0x9BAE5AD2508DF078

The GTA V native SET_INSTANCE_PRIORITY_MODE of the MISC namespace, as LS:MP client scripts call it: the global function setInstancePriorityMode, in JavaScript and in Lua.

SignatureJavaScript
setInstancePriorityMode(mode: number): void
SignatureLua
setInstancePriorityMode(mode: integer)
✕
Blocked for scripts: Saves and game flow

Scripts cannot save, load or restart the game. For persistent data, use storage.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Misc MISC
In the game
void SET_INSTANCE_PRIORITY_MODE(int mode)
Hash
0x9BAE5AD2508DF078
Formerly
_ENABLE_MP_DLC_MAPS _USE_FREEMODE_MAP_BEHAVIOR _LOWER_MAP_PROP_DENSITY

Open in the interactive natives reference