VehicleClient

setCanAdjustGroundClearance

SET_CAN_ADJUST_GROUND_CLEARANCE0xA7DCDF4DED40A8F4

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

SignatureJavaScript
setCanAdjustGroundClearance(vehicle: Vehicle, p1: boolean): void
SignatureLua
setCanAdjustGroundClearance(vehicle: Vehicle, p1: boolean)

Usage

JavaScript
setCanAdjustGroundClearance(vehicle, p1);
Lua
setCanAdjustGroundClearance(vehicle, p1)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_CAN_ADJUST_GROUND_CLEARANCE(Vehicle vehicle, BOOL p1)
Hash
0xA7DCDF4DED40A8F4

Open in the interactive natives reference