# CFX::SET_VEHICLE_NEXT_GEAR

- **Hash:** `0x3A4566F4`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetVehicleNextGear`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_NEXT_GEAR

## Signature

```c
void SET_VEHICLE_NEXT_GEAR(Vehicle vehicle, int nextGear);
```

## Parameters

- `vehicle` (`Vehicle`) — The vehicle handle.
- `nextGear` (`int`) — The vehicles next gear.

## Returns

`void`

## Usage

### Lua

```lua
SetVehicleNextGear(vehicle, nextGear)

-- always available, by hash
Citizen.InvokeNative(0x3a4566f4, vehicle, nextGear)
```

### JavaScript

```js
SetVehicleNextGear(vehicle, nextGear);

// by hash
Citizen.invokeNative('0x3a4566f4', vehicle, nextGear);
```

### C#

```csharp
Function.Call((Hash)0x3a4566f4, vehicle, nextGear);
```

*Sources: Cfx.re native reference.*
