VehicleClient

setVehicleTimedExplosion

SET_VEHICLE_TIMED_EXPLOSION0x2E0A74E1002380B1

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

SignatureJavaScript
setVehicleTimedExplosion(vehicle: Vehicle, ped: Ped, toggle: boolean): void
SignatureLua
setVehicleTimedExplosion(vehicle: Vehicle, ped: Ped, toggle: boolean)

Usage

JavaScript
setVehicleTimedExplosion(vehicle, ped, toggle);
Lua
setVehicleTimedExplosion(vehicle, ped, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
pedPednumberinteger
toggleBOOLbooleanboolean

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

Open in the interactive natives reference