setOpenRearDoorsOnExplosion
SET_OPEN_REAR_DOORS_ON_EXPLOSION0x1B212B26DD3C04DFThe GTA V native SET_OPEN_REAR_DOORS_ON_EXPLOSION of the VEHICLE namespace, as LS:MP client scripts call it: the global function setOpenRearDoorsOnExplosion, in JavaScript and in Lua.
setOpenRearDoorsOnExplosion(vehicle: Vehicle, toggle: boolean): voidsetOpenRearDoorsOnExplosion(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setOpenRearDoorsOnExplosion(vehicle, toggle);Lua
setOpenRearDoorsOnExplosion(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_OPEN_REAR_DOORS_ON_EXPLOSION(Vehicle vehicle, BOOL toggle)- Hash
0x1B212B26DD3C04DF- Introduced
- Game build 757 legacy numbering