RedM Natives

IS_ENTITY_AN_OBJECT

Hash0x0A27A546A375FDEF
Runtime nameIsEntityAnObject
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x8D68C8FD0FACA94E

Signature

BOOL IS_ENTITY_AN_OBJECT(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Usage

Lua
local retval = IsEntityAnObject(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0x0A27A546A375FDEF, entity, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsEntityAnObject(entity);

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

Sources

alloc8or RDR3 NativeDB

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