mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
* refactor: Add h1 headers to all pages missing it * refactor: missed example h3 * change hooks example heading to bold text --------- Co-authored-by: Luke <[email protected]>
34 lines
422 B
Plaintext
34 lines
422 B
Plaintext
# Functions
|
|
|
|
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`
|