isEntityAttachedToAnyVehicle
IS_ENTITY_ATTACHED_TO_ANY_VEHICLE0x26AA915AD89BFB4BThe GTA V native IS_ENTITY_ATTACHED_TO_ANY_VEHICLE of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityAttachedToAnyVehicle, in JavaScript and in Lua.
isEntityAttachedToAnyVehicle(entity: Entity): booleanisEntityAttachedToAnyVehicle(entity: Entity): booleanUsage
JavaScript
const result = isEntityAttachedToAnyVehicle(entity);Lua
local result = isEntityAttachedToAnyVehicle(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_VEHICLE(Entity entity)- Hash
0x26AA915AD89BFB4B