chore: target, fuel, and doorlock updates (#136)

* chore: ox_target cleaned up

- minor fixes on ox_lib zones

* chore: move get/set fuel amount to shared.mdx file

* chore: Update removeZone input type

https://github.com/overextended/ox_target/commit/021b32d4d52fa58305045177f3dc3c0a969d07e5

* chore: doorlock cleaned up

* add missing export

* reorder textui sections
This commit is contained in:
Jag authored and GitHub committed 2023-07-27 11:45:12 +02:00
1 parent fc2622ad2b
commit de4051e62a
7 files changed
+96 -48

No files matched your search

+15 -8
View File
@@ -8,15 +8,13 @@ Gets data for a door with the given id, matching the id for the database entry.
exports.ox_doorlock:getDoor(id)
```
### Parameters
Gets data for a door with the given `id`, matching the id for the database entry.
- id: `number`
### Returns
Return:
- `table`
Gets data for a door with the given name, matching the name for the database entry.
- door: `table`
## getDoorFromName
@@ -24,10 +22,19 @@ Gets data for a door with the given name, matching the name for the database ent
exports.ox_doorlock:getDoorFromName(name)
```
### Parameters
Gets data for a door with the given `name`, matching the name for the database entry.
- name: `string`
### Returns
Return:
- `table`
- door: `table`
## editDoor
```lua
exports.ox_doorlock:editDoor(id, data)
```
- id: `number`
- data: `table`