setPlaneControlSectionsShouldBreakOffFromExplosions
SET_PLANE_CONTROL_SECTIONS_SHOULD_BREAK_OFF_FROM_EXPLOSIONS0xDD8A2D3337F04196The GTA V native SET_PLANE_CONTROL_SECTIONS_SHOULD_BREAK_OFF_FROM_EXPLOSIONS of the VEHICLE namespace, as LS:MP client scripts call it: the global function setPlaneControlSectionsShouldBreakOffFromExplosions, in JavaScript and in Lua.
setPlaneControlSectionsShouldBreakOffFromExplosions(
vehicle: Vehicle,
toggle: boolean
): voidsetPlaneControlSectionsShouldBreakOffFromExplosions(
vehicle: Vehicle,
toggle: boolean
)⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
setPlaneControlSectionsShouldBreakOffFromExplosions(vehicle, toggle);Lua
setPlaneControlSectionsShouldBreakOffFromExplosions(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_PLANE_CONTROL_SECTIONS_SHOULD_BREAK_OFF_FROM_EXPLOSIONS(Vehicle vehicle, BOOL toggle)- Hash
0xDD8A2D3337F04196- Introduced
- Game build 3407 legacy numbering