VehicleClient

setVehicleDisableHeightMapAvoidance

SET_VEHICLE_DISABLE_HEIGHT_MAP_AVOIDANCE0x8AA9180DE2FEDD45

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_VEHICLE_DISABLE_HEIGHT_MAP_AVOIDANCE(Vehicle vehicle, BOOL p1)
Hash
0x8AA9180DE2FEDD45

Open in the interactive natives reference