> For the complete documentation index, see [llms.txt](https://hrscripts.gitbook.io/hrscripts-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hrscripts.gitbook.io/hrscripts-documentation/resources/hrlib/modules/getvehicledoorstatus/client.md).

# Client

## GetVehicleDoorStatus

Function to get the status for each door of the given vehicle

```lua
function HRLib.GetVehicleDoorStatus(vehicle: integer): boolean[]? statusList
```

Parameters description

* `vehicle` - the vehicle Id of the vehicle

Return description

* `statusList` - contains a list of booleans in which is the status of all doors of the vehicle\
  (true = closed, false = opened)
