isEntityAttachedToEntity
IS_ENTITY_ATTACHED_TO_ENTITY0xEFBE71898A993728The GTA V native IS_ENTITY_ATTACHED_TO_ENTITY of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityAttachedToEntity, in JavaScript and in Lua.
isEntityAttachedToEntity(from: Entity, to: Entity): booleanisEntityAttachedToEntity(from: Entity, to: Entity): booleanUsage
JavaScript
const result = isEntityAttachedToEntity(from, to);Lua
local result = isEntityAttachedToEntity(from, to)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
from | Entity | number | integer |
to | Entity | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Entity ENTITY
- In the game
BOOL IS_ENTITY_ATTACHED_TO_ENTITY(Entity from, Entity to)- Hash
0xEFBE71898A993728