setVehicleDetonationMode
SET_VEHICLE_DETONATION_MODE0x82E0AC411E41A5B4The 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.
setVehicleDetonationMode(toggle: boolean): voidsetVehicleDetonationMode(toggle: boolean)Usage
JavaScript
setVehicleDetonationMode(toggle);Lua
setVehicleDetonationMode(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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