chore: oxmysql and ox_lib clean-up (#134)

* oxmysql and some lib interface fixes

- Various fixes throughout oxmysql
- started ox_lib audit

* chore: More clean up

- Reword some confusing descriptions
- Add some descriptions
- Type fixes
- Spelling and grammar fixes
- Swapping in `-` where `*` used to be for 
bullet point consistency

ox_lib
- Interface, ACL through GetClosestVehicle audited

* chore: Finishing up ox_lib
This commit is contained in:
Jag authored and GitHub committed 2023-07-03 13:13:56 +10:00
1 parent 7495414c9c
commit 74227cc262
39 files changed
+533 -247

No files matched your search

@@ -6,9 +6,10 @@
triggerServerCallback(eventName, delay, ...args)
```
* eventName: `string`
* delay: `number` or `null`
* ..args: `any`
- eventName: `string`
- delay: `number` or `null`
- Amount of time until this callback can be triggered again
- ..args: `any`
## Register Client Callback
@@ -18,8 +19,8 @@ triggerServerCallback(eventName, delay, ...args)
onServerCallback(eventName, cb)
```
* eventName: `string`
* cb: `function`(...args: `any`)
- eventName: `string`
- cb: `function`(...args: `any`)
## Usage Example
@@ -6,11 +6,11 @@
triggerClientCallback(eventName, playerId, ...args)
```
* eventName: `string`
* playerId: `number`
* ...args: `any`
- eventName: `string`
- playerId: `number`
- ...args: `any`
## Register Client Callback
## Register Server Callback
### onClientCallback