IS_ENTITY_ATTACHED_TO_ENTITY
Returns true if from is attached to to.
Signature
BOOL IS_ENTITY_ATTACHED_TO_ENTITY(Entity from, Entity to); // 0x154A3C529497053E b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | from | Entity |
| 2 | to | Entity |
Facts
| Name | IS_ENTITY_ATTACHED_TO_ENTITY |
|---|---|
| Hash | 0x154A3C529497053E |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x154A3C529497053E, -- IS_ENTITY_ATTACHED_TO_ENTITY
PlayerPedId(), -- Entity from
PlayerPedId() -- Entity to
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x154A3C529497053E", // IS_ENTITY_ATTACHED_TO_ENTITY
PlayerPedId(), // Entity from
PlayerPedId(), // Entity to
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x154A3C529497053E, // IS_ENTITY_ATTACHED_TO_ENTITY
API.PlayerPedId(), // Entity from
API.PlayerPedId() // Entity to
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.