Files
overextended.github.io/pages/ox_doorlock/Server/functions.mdx
T
2023-06-04 15:15:21 +02:00

32 lines
409 B
Plaintext

Gets data for a door with the given id, matching the id for the database entry.
## getDoor
```lua
exports.ox_doorlock:getDoor(id)
```
### Parameters
- id: `number`
### Returns
- `table`
Gets data for a door with the given name, matching the name for the database entry.
## getDoorFromName
```lua
exports.ox_doorlock:getDoorFromName(name)
```
### Parameters
- name: `string`
### Returns
- `table`