setVehicleTimedExplosion
SET_VEHICLE_TIMED_EXPLOSION0x2E0A74E1002380B1The GTA V native SET_VEHICLE_TIMED_EXPLOSION of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleTimedExplosion, in JavaScript and in Lua.
setVehicleTimedExplosion(vehicle: Vehicle, ped: Ped, toggle: boolean): voidsetVehicleTimedExplosion(vehicle: Vehicle, ped: Ped, toggle: boolean)Usage
JavaScript
setVehicleTimedExplosion(vehicle, ped, toggle);Lua
setVehicleTimedExplosion(vehicle, ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
ped | Ped | 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_TIMED_EXPLOSION(Vehicle vehicle, Ped ped, BOOL toggle)- Hash
0x2E0A74E1002380B1