# VEHICLE::REMOVE_VEHICLE_WINDOW

- **Hash:** `0x745F15A215F2DDF1`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `RemoveVehicleWindow`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/REMOVE_VEHICLE_WINDOW

## Signature

```c
void REMOVE_VEHICLE_WINDOW(Vehicle vehicle, int windowIndex);
```

## Parameters

- `vehicle` (`Vehicle`)
- `windowIndex` (`int`)

## Returns

`void`

## Description

windowIndex:
0 = Front Right Window
1 = Front Left Window
2 = Back Right Window
3 = Back Left Window

## Usage

### Lua

```lua
RemoveVehicleWindow(vehicle, windowIndex)

-- always available, by hash
Citizen.InvokeNative(0x745F15A215F2DDF1, vehicle, windowIndex)
```

### JavaScript

```js
RemoveVehicleWindow(vehicle, windowIndex);

// by hash
Citizen.invokeNative('0x745F15A215F2DDF1', vehicle, windowIndex);
```

### C#

```csharp
Function.Call((Hash)0x745F15A215F2DDF1, vehicle, windowIndex);
```

## Related enums

- [eWindowId](https://natives.borderlinerp.com/enums/eWindowId.md) — 9 values

*Sources: alloc8or RDR3 NativeDB.*
