RedM Natives

IS_ENTITY_ATTACHED_TO_ENTITY

Hash0x154A3C529497053E
Runtime nameIsEntityAttachedToEntity
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xEFBE71898A993728

Signature

BOOL IS_ENTITY_ATTACHED_TO_ENTITY(Entity from, Entity to);

Parameters

NameTypeDescription
fromEntity—
toEntity—

Returns BOOL

Usage

Lua
local retval = IsEntityAttachedToEntity(from, to)

-- always works, by hash
local retval = Citizen.InvokeNative(0x154A3C529497053E, from, to, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsEntityAttachedToEntity(from, to);

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

Sources

alloc8or RDR3 NativeDB

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