VehicleClient

setDipStraightDownWhenCrashingPlane

SET_DIP_STRAIGHT_DOWN_WHEN_CRASHING_PLANE0xAA653AE61924B0A0

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

SignatureJavaScript
setDipStraightDownWhenCrashingPlane(vehicle: Vehicle, toggle: boolean): void
SignatureLua
setDipStraightDownWhenCrashingPlane(vehicle: Vehicle, toggle: boolean)

Usage

JavaScript
setDipStraightDownWhenCrashingPlane(vehicle, toggle);
Lua
setDipStraightDownWhenCrashingPlane(vehicle, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_DIP_STRAIGHT_DOWN_WHEN_CRASHING_PLANE(Vehicle vehicle, BOOL toggle)
Hash
0xAA653AE61924B0A0
Introduced
Game build 1290 legacy numbering

Open in the interactive natives reference