isEntityAttachedToAnyObject
IS_ENTITY_ATTACHED_TO_ANY_OBJECT0xCF511840CEEDE0CCThe GTA V native IS_ENTITY_ATTACHED_TO_ANY_OBJECT of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityAttachedToAnyObject, in JavaScript and in Lua.
isEntityAttachedToAnyObject(entity: Entity): booleanisEntityAttachedToAnyObject(entity: Entity): booleanUsage
JavaScript
const result = isEntityAttachedToAnyObject(entity);Lua
local result = isEntityAttachedToAnyObject(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Entity ENTITY
- In the game
BOOL IS_ENTITY_ATTACHED_TO_ANY_OBJECT(Entity entity)- Hash
0xCF511840CEEDE0CC