RedM Natives

IS_ENTITY_IN_VOLUME

Hash0x5A5526BC09C06623
Runtime nameIsEntityInVolume
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_ENTITY_IN_VOLUME(Entity entity, ScrHandle volume, BOOL p2, int p3);

Parameters

NameTypeDescription
entityEntity—
volumeScrHandle—
p2BOOL—
p3int—

Returns BOOL

Usage

Lua
local retval = IsEntityInVolume(entity, volume, p2, p3)

-- always works, by hash
local retval = Citizen.InvokeNative(0x5A5526BC09C06623, entity, volume, p2, p3, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsEntityInVolume(entity, volume, p2, p3);

// by hash
const retval = Citizen.invokeNative('0x5A5526BC09C06623', entity, volume, p2, p3, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x5A5526BC09C06623, entity, volume, p2, p3);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.