EntityClient

setEntityIsInVehicle

SET_ENTITY_IS_IN_VEHICLE0x78E8E3A640178255

The 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.

SignatureJavaScript
setEntityIsInVehicle(entity: Entity): void
SignatureLua
setEntityIsInVehicle(entity: Entity)

Usage

JavaScript
setEntityIsInVehicle(entity);
Lua
setEntityIsInVehicle(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

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

Open in the interactive natives reference