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

+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