VehicleClient

getFakeSuspensionLoweringAmount

GET_FAKE_SUSPENSION_LOWERING_AMOUNT0x53952FD2BAA19F17

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

SignatureJavaScript
getFakeSuspensionLoweringAmount(vehicle: Vehicle): number
SignatureLua
getFakeSuspensionLoweringAmount(vehicle: Vehicle): number

Usage

JavaScript
const value = getFakeSuspensionLoweringAmount(vehicle);
Lua
local value = getFakeSuspensionLoweringAmount(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

float JavaScript number, Lua number

Notes

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

Gets the height of the vehicle's suspension.
The higher the value the lower the suspension. Each 0.002 corresponds with one more level lowered.
0.000 is the stock suspension.
0.008 is Ultra Suspension.

Reference

Namespace
Vehicle VEHICLE
In the game
float GET_FAKE_SUSPENSION_LOWERING_AMOUNT(Vehicle vehicle)
Hash
0x53952FD2BAA19F17
Formerly
_GET_VEHICLE_SUSPENSION_HEIGHT

Open in the interactive natives reference