RedM Natives

_GET_ENTITIES_IN_VOLUME

Hash0x886171A12F400B89
Runtime nameGetEntitiesInVolume
NamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207

Signature

int _GET_ENTITIES_IN_VOLUME(Volume volume, ItemSet itemSet, int entityType);

Parameters

NameTypeDescription
volumeVolume—
itemSetItemSet—
entityTypeint—

Returns int

Usage

Lua
local retval = GetEntitiesInVolume(volume, itemSet, entityType)

-- always works, by hash
local retval = Citizen.InvokeNative(0x886171A12F400B89, volume, itemSet, entityType, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetEntitiesInVolume(volume, itemSet, entityType);

// by hash
const retval = Citizen.invokeNative('0x886171A12F400B89', volume, itemSet, entityType, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x886171A12F400B89, volume, itemSet, entityType);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Enums and flags

Sources

alloc8or RDR3 NativeDB

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