# VEHICLE::IS_VEHICLE_WINDOW_INTACT

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

## Signature

```c
BOOL IS_VEHICLE_WINDOW_INTACT(Vehicle vehicle, int windowIndex);
```

## Parameters

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

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsVehicleWindowIntact(vehicle, windowIndex)

-- always available, by hash
local retval = Citizen.InvokeNative(0x0E7910A63E05B12C, vehicle, windowIndex, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsVehicleWindowIntact(vehicle, windowIndex);

// by hash
const retval = Citizen.invokeNative('0x0E7910A63E05B12C', vehicle, windowIndex, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x0E7910A63E05B12C, vehicle, windowIndex);
```

## Related enums

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

*Sources: alloc8or RDR3 NativeDB.*
