disableScriptBrainSet
DISABLE_SCRIPT_BRAIN_SET0x14D8518E9760F08FThe GTA V native DISABLE_SCRIPT_BRAIN_SET of the BRAIN namespace, as LS:MP client scripts call it: the global function disableScriptBrainSet, in JavaScript and in Lua.
disableScriptBrainSet(brainSet: number): voiddisableScriptBrainSet(brainSet: integer)✕
Blocked for scripts: Game script threads
Resources do not start, stop or adopt the game's own compiled scripts. Your code runs as an LS:MP resource.
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
- Script brains BRAIN
- In the game
void DISABLE_SCRIPT_BRAIN_SET(int brainSet)- Hash
0x14D8518E9760F08F