formatting and typos

This commit is contained in:
DokaDoka committed 2022-12-11 15:00:43 +11:00
1 parent 75698216e0
commit 724c7e356d
99 files changed
+515 -305

No files matched your search

-2
View File
@@ -38,8 +38,6 @@ Triggered when the player's grade in a group is modified on the server with `pla
RegisterNetEvent('ox:setGroup', function(source, group, grade) end)
```
### ox:licenseAdded
Triggered when the player has been granted a license.
+1 -1
View File
@@ -44,7 +44,7 @@ Triggered when a player has been granted a license.
AddEventHandler('ox:licenseAdded', function(source, name) end)
```
### ox:licenseAdded
### ox:licenseRemoved
Triggered when a player's license is revoked.
+3 -3
View File
@@ -21,7 +21,7 @@ player.set(key, value, replicated)
## player.setdb
Update the player's metadata and store in the DB, optionally syncing it with the client.
Update the player's metadata and store in the DB, optionally syncing it with the client.
Note: These values are not synced to the client on login; you will need to use `player.set`.
```lua
@@ -77,7 +77,7 @@ Returns the player's current grade for a given group.
player.getGroup()
```
## player.getGroup
## player.getGroups
Returns an object of all groups the player is in, with the current grade as the value.
@@ -87,7 +87,7 @@ player.getGroups()
## player.hasGroup
Check if the player is a member of a given group, and returns the matching group name and grade.
Check if the player is a member of a given group, and returns the matching group name and grade.
The filter can be a string, array, or object where key is the group, and value is the minimum grade.
```lua