VehicleClient

setVehicleDetonationMode

SET_VEHICLE_DETONATION_MODE0x82E0AC411E41A5B4

The GTA V native SET_VEHICLE_DETONATION_MODE of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleDetonationMode, in JavaScript and in Lua.

SignatureJavaScript
setVehicleDetonationMode(toggle: boolean): void
SignatureLua
setVehicleDetonationMode(toggle: boolean)

Usage

JavaScript
setVehicleDetonationMode(toggle);
Lua
setVehicleDetonationMode(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Does nothing. It's a nullsub.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_VEHICLE_DETONATION_MODE(BOOL toggle)
Hash
0x82E0AC411E41A5B4
Introduced
Game build 1604 legacy numbering

Open in the interactive natives reference