mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
formatting and typos
This commit is contained in:
1 parent
75698216e0
commit
724c7e356d
99 files changed
+515
-305
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user