isEntityAVehicle
IS_ENTITY_A_VEHICLE0x6AC7003FA6E5575EThe GTA V native IS_ENTITY_A_VEHICLE of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityAVehicle, in JavaScript and in Lua.
isEntityAVehicle(entity: Entity): booleanisEntityAVehicle(entity: Entity): booleanUsage
JavaScript
const result = isEntityAVehicle(entity);Lua
local result = isEntityAVehicle(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_A_VEHICLE(Entity entity)- Hash
0x6AC7003FA6E5575E