# CFX::IS_VEHICLE_WINDOW_INTACT

- **Hash:** `0xAC4EF23D`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `IsVehicleWindowIntact`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/IS_VEHICLE_WINDOW_INTACT

## Signature

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

## Parameters

- `vehicle` (`Vehicle`) — The target vehicle.
- `windowIndex` (`int`) — The window index.

## Returns

`BOOL`

## Description

*Source: Cfx.re native reference*

See the client-side [IS_VEHICLE_WINDOW_INTACT](#\_0x46E571A0E20D01F1) for a window indexes list.

## Usage

### Lua

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

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
