enableScriptBrainSet
ENABLE_SCRIPT_BRAIN_SET0x67AA4D73F0CFA86BThe GTA V native ENABLE_SCRIPT_BRAIN_SET of the BRAIN namespace, as LS:MP client scripts call it: the global function enableScriptBrainSet, in JavaScript and in Lua.
enableScriptBrainSet(brainSet: number): voidenableScriptBrainSet(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 ENABLE_SCRIPT_BRAIN_SET(int brainSet)- Hash
0x67AA4D73F0CFA86B