SET_VEHICLE_NEXT_GEAR
Signature
void SET_VEHICLE_NEXT_GEAR(Vehicle vehicle, int nextGear);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | The vehicle handle. |
nextGear | int | The vehicles next gear. |
Returns void
Usage
SetVehicleNextGear(vehicle, nextGear)
-- always works, by hash
Citizen.InvokeNative(0x3a4566f4, vehicle, nextGear)JavaScript and C#
SetVehicleNextGear(vehicle, nextGear);
// by hash
Citizen.invokeNative('0x3a4566f4', vehicle, nextGear);Function.Call((Hash)0x3a4566f4, vehicle, nextGear);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.