> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get door ID data

> Obtén los datos de una puerta del lado servidor por su ID.

```lua Export theme={null}
exports["doors_creator"]:getDoorIdData(doorId)
```

### Parámetros

| Nombre | Tipo de dato | Descripción |
| - | - | - |
| `doorId` | integer | El ID de la puerta del que obtener los datos |

## Ejemplo

```lua theme={null}
Citizen.CreateThread(function()
    local doorId = 55
    local doorData = exports["doors_creator"]:getDoorIdData(doorId)

    print("The name of door " .. doorId .. " is " .. doorData.label)
end)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.