setVehicleInactiveDuringPlayback
SET_VEHICLE_INACTIVE_DURING_PLAYBACK0x06582AFF74894C75The GTA V native SET_VEHICLE_INACTIVE_DURING_PLAYBACK of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleInactiveDuringPlayback, in JavaScript and in Lua.
setVehicleInactiveDuringPlayback(vehicle: Vehicle, toggle: boolean): voidsetVehicleInactiveDuringPlayback(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setVehicleInactiveDuringPlayback(vehicle, toggle);Lua
setVehicleInactiveDuringPlayback(vehicle, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_INACTIVE_DURING_PLAYBACK(Vehicle vehicle, BOOL toggle)- Hash
0x06582AFF74894C75