allowAmbientVehiclesToAvoidAdverseConditions
ALLOW_AMBIENT_VEHICLES_TO_AVOID_ADVERSE_CONDITIONS0xB264C4D2F2B0A78BThe 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.
allowAmbientVehiclesToAvoidAdverseConditions(vehicle: Vehicle): voidallowAmbientVehiclesToAvoidAdverseConditions(vehicle: Vehicle)Usage
JavaScript
allowAmbientVehiclesToAvoidAdverseConditions(vehicle);Lua
allowAmbientVehiclesToAvoidAdverseConditions(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
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