> ## 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

> Récupère les données d'une porte côté serveur par son ID.

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

### Paramètres

| Nom | Type de donnée | Description |
| - | - | - |
| `doorId` | integer | L'ID de la porte dont récupérer les données |

## Exemple

```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.