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

+11 -10
View File
@@ -21,9 +21,9 @@ lib.zones.poly(data)
- All z values must match
- thickness?: `number`
- Default: `4`
- onEnter: `function(self: table)`
- onExit: `function(self: table)`
- inside: `function(self: table)`
- onEnter?: `function(self: table)`
- onExit?: `function(self: table)`
- inside?: `function(self: table)`
- debug?: `boolean`
## lib.zones.box
@@ -35,12 +35,13 @@ lib.zones.box(data)
- data: `table`
- coords: `vector3`
- size?: `vector3`
- Default: `vec3(4, 4, 4)`
- Default: `vec3(2, 2, 2)`
- rotation?: `number`
- Angle in degrees
- onEnter: `function(self: table)`
- onExit: `function(self: table)`
- inside: `function(self: table)`
- Default: `0`
- onEnter?: `function(self: table)`
- onExit?: `function(self: table)`
- inside?: `function(self: table)`
- debug?: `boolean`
## lib.zones.sphere
@@ -53,9 +54,9 @@ lib.zones.sphere(data)
- coords: `vector3`
- radius?: `number`
- Default: `2`
- onEnter: `function`(self: `table`)
- onExit: `function`(self: `table`)
- inside: `function`(self: `table`)
- onEnter?: `function(self: table)`
- onExit?: `function(self: table)`
- inside?: `function(self: table)`
- debug?: `boolean`
## Methods