Script brainsClientBlocked

isObjectWithinBrainActivationRange

IS_OBJECT_WITHIN_BRAIN_ACTIVATION_RANGE0xCCBA154209823057

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

SignatureJavaScript
isObjectWithinBrainActivationRange(object: Object): boolean
SignatureLua
isObjectWithinBrainActivationRange(object: Object): boolean
✕
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
BOOL IS_OBJECT_WITHIN_BRAIN_ACTIVATION_RANGE(Object object)
Hash
0xCCBA154209823057

Open in the interactive natives reference