# VEHICLE::_IS_VEHICLE_DOOR_BROKEN

- **Hash:** `0xE979BB5602AD3402`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `IsVehicleDoorBroken`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/_IS_VEHICLE_DOOR_BROKEN

## Signature

```c
BOOL _IS_VEHICLE_DOOR_BROKEN(Vehicle vehicle, int doorId);
```

## Parameters

- `vehicle` (`Vehicle`)
- `doorId` (`int`)

## Returns

`BOOL`

## Description

doorId: see SET_VEHICLE_DOOR_SHUT

## Usage

### Lua

```lua
local retval = IsVehicleDoorBroken(vehicle, doorId)

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

### JavaScript

```js
const retval = IsVehicleDoorBroken(vehicle, doorId);

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

### C#

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

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

## See also

- [VEHICLE::SET_VEHICLE_DOOR_BROKEN](https://natives.borderlinerp.com/natives/VEHICLE/SET_VEHICLE_DOOR_BROKEN.md)

*Sources: alloc8or RDR3 NativeDB.*
