VehicleClient

allowAmbientVehiclesToAvoidAdverseConditions

ALLOW_AMBIENT_VEHICLES_TO_AVOID_ADVERSE_CONDITIONS0xB264C4D2F2B0A78B

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

SignatureJavaScript
allowAmbientVehiclesToAvoidAdverseConditions(vehicle: Vehicle): void
SignatureLua
allowAmbientVehiclesToAvoidAdverseConditions(vehicle: Vehicle)

Usage

JavaScript
allowAmbientVehiclesToAvoidAdverseConditions(vehicle);
Lua
allowAmbientVehiclesToAvoidAdverseConditions(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

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

This native doesn't seem to do anything, might be a debug-only native.

Confirmed, it is a debug native.

Reference

Namespace
Vehicle VEHICLE
In the game
void ALLOW_AMBIENT_VEHICLES_TO_AVOID_ADVERSE_CONDITIONS(Vehicle vehicle)
Hash
0xB264C4D2F2B0A78B

Open in the interactive natives reference