VehicleClient

getHydraulicSuspensionRaiseFactor

GET_HYDRAULIC_SUSPENSION_RAISE_FACTOR0x0BB5CBDDD0F25AE3

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

SignatureJavaScript
getHydraulicSuspensionRaiseFactor(vehicle: Vehicle, wheelId: number): number
SignatureLua
getHydraulicSuspensionRaiseFactor(vehicle: Vehicle, wheelId: integer): number

Usage

JavaScript
const value = getHydraulicSuspensionRaiseFactor(vehicle, wheelId);
Lua
local value = getHydraulicSuspensionRaiseFactor(vehicle, wheelId)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
wheelIdintnumberinteger

Returns

float JavaScript number, Lua number

Reference

Namespace
Vehicle VEHICLE
In the game
float GET_HYDRAULIC_SUSPENSION_RAISE_FACTOR(Vehicle vehicle, int wheelId)
Hash
0x0BB5CBDDD0F25AE3
Introduced
Game build 2372 legacy numbering
Formerly
_GET_HYDRAULIC_WHEEL_VALUE

Open in the interactive natives reference