> For the complete documentation index, see [llms.txt](https://documentation.jaksam-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.jaksam-scripts.com/doors-creator/server/get-building-id-data.md).

# Get building ID data

## Export

```lua
exports["doors_creator"]:getBuildingIdData(buildingId)
```

### Parameters

| Name         | Data Type | Description                     |
| ------------ | --------- | ------------------------------- |
| `buildingId` | integer   | The building ID to get the data |

## Example

```lua
Citizen.CreateThread(function() 
    local buildingId = 55
    local buildingData = exports["doors_creator"]:getBuildingIdData(buildingId)

    print("The name of the building " .. buildingId .. " is " .. buildingData.label)
end)
```
