Script brainsClientBlocked

registerWorldPointScriptBrain

REGISTER_WORLD_POINT_SCRIPT_BRAIN0x3CDC7136613284BD

The GTA V native REGISTER_WORLD_POINT_SCRIPT_BRAIN of the BRAIN namespace, as LS:MP client scripts call it: the global function registerWorldPointScriptBrain, in JavaScript and in Lua.

SignatureJavaScript
registerWorldPointScriptBrain(
  scriptName: string,
  activationRange: number,
  p2: number
): void
SignatureLua
registerWorldPointScriptBrain(
  scriptName: string,
  activationRange: number,
  p2: 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 REGISTER_WORLD_POINT_SCRIPT_BRAIN(const char* scriptName, float activationRange, int p2)
Hash
0x3CDC7136613284BD

Open in the interactive natives reference