# VEHICLE::SET_VEHICLE_UNDRIVEABLE

- **Hash:** `0x6E884BAB713A2A94`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `SetVehicleUndriveable`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/SET_VEHICLE_UNDRIVEABLE

## Signature

```c
void SET_VEHICLE_UNDRIVEABLE(Vehicle vehicle, BOOL toggle);
```

## Parameters

- `vehicle` (`Vehicle`)
- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetVehicleUndriveable(vehicle, toggle)

-- always available, by hash
Citizen.InvokeNative(0x6E884BAB713A2A94, vehicle, toggle)
```

### JavaScript

```js
SetVehicleUndriveable(vehicle, toggle);

// by hash
Citizen.invokeNative('0x6E884BAB713A2A94', vehicle, toggle);
```

### C#

```csharp
Function.Call((Hash)0x6E884BAB713A2A94, vehicle, toggle);
```

*Sources: alloc8or RDR3 NativeDB.*
