RedM Natives

IS_ENTITY_ATTACHED

Hash0xEE6AD63ABF59C0B7
Runtime nameIsEntityAttached
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB346476EF1A64897

Signature

BOOL IS_ENTITY_ATTACHED(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Usage

Lua
local retval = IsEntityAttached(entity)

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

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

Sources

alloc8or RDR3 NativeDB

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