setVehicleHandlingOverride
SET_VEHICLE_HANDLING_OVERRIDE0x10655FAB9915623DThe GTA V native SET_VEHICLE_HANDLING_OVERRIDE of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleHandlingOverride, in JavaScript and in Lua.
setVehicleHandlingOverride(vehicle: Vehicle, hash: Hash): voidsetVehicleHandlingOverride(vehicle: Vehicle, hash: Hash)Usage
JavaScript
setVehicleHandlingOverride(vehicle, hash);Lua
setVehicleHandlingOverride(vehicle, hash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
hash | Hash | 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.
Use the "AIHandling" string found in handling.meta
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_HANDLING_OVERRIDE(Vehicle vehicle, Hash hash)- Hash
0x10655FAB9915623D- Formerly
_SET_VEHICLE_HANDLING_HASH_FOR_AI