RedM Natives

IS_ENTITY_ATTACHED_TO_ANY_PED

Hash0xC841153DED2CA89A
Runtime nameIsEntityAttachedToAnyPed
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB1632E9A5F988D11

Signature

BOOL IS_ENTITY_ATTACHED_TO_ANY_PED(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Usage

Lua
local retval = IsEntityAttachedToAnyPed(entity)

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

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

Sources

alloc8or RDR3 NativeDB

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