setEntityIsInVehicle
SET_ENTITY_IS_IN_VEHICLE0x78E8E3A640178255The GTA V native SET_ENTITY_IS_IN_VEHICLE of the ENTITY namespace, as LS:MP client scripts call it: the global function setEntityIsInVehicle, in JavaScript and in Lua.
setEntityIsInVehicle(entity: Entity): voidsetEntityIsInVehicle(entity: Entity)Usage
JavaScript
setEntityIsInVehicle(entity);Lua
setEntityIsInVehicle(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Entity ENTITY
- In the game
void SET_ENTITY_IS_IN_VEHICLE(Entity entity)- Hash
0x78E8E3A640178255