# CFX::SET_VEHICLE_CURRENT_GEAR

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

## Signature

```c
void SET_VEHICLE_CURRENT_GEAR(Vehicle vehicle, int gear);
```

## Parameters

- `vehicle` (`Vehicle`) — The vehicle handle.
- `gear` (`int`) — The gear you want the vehicle to use.

## Returns

`void`

## Usage

### Lua

```lua
SetVehicleCurrentGear(vehicle, gear)

-- always available, by hash
Citizen.InvokeNative(0x8923dd42, vehicle, gear)
```

### JavaScript

```js
SetVehicleCurrentGear(vehicle, gear);

// by hash
Citizen.invokeNative('0x8923dd42', vehicle, gear);
```

### C#

```csharp
Function.Call((Hash)0x8923dd42, vehicle, gear);
```

*Sources: Cfx.re native reference.*
