isEntityAttached
IS_ENTITY_ATTACHED0xB346476EF1A64897The GTA V native IS_ENTITY_ATTACHED of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityAttached, in JavaScript and in Lua.
isEntityAttached(entity: Entity): booleanisEntityAttached(entity: Entity): booleanUsage
JavaScript
const result = isEntityAttached(entity);Lua
local result = isEntityAttached(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Whether the entity is attached to any other entity.
Reference
- Namespace
- Entity ENTITY
- In the game
BOOL IS_ENTITY_ATTACHED(Entity entity)- Hash
0xB346476EF1A64897