mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
update inventory server docs
This commit is contained in:
1 parent
c013d3ff0c
commit
4dbd9dd4ab
21 files changed
+112
-91
No files matched your search
@@ -1,13 +1,14 @@
|
||||
Creates and sets the player's inventory.
|
||||
|
||||
```lua
|
||||
-- player: table
|
||||
-- source: number
|
||||
-- identifier: string
|
||||
-- name: string
|
||||
-- groups: table (optional)
|
||||
-- sex: string (optional)
|
||||
-- dateofbirth: string (optional)
|
||||
-- data: table
|
||||
exports.ox_inventory:setPlayerInventory(player, data)
|
||||
```
|
||||
```
|
||||
* player: `table`
|
||||
* source: `number`
|
||||
* identifier: `string`
|
||||
* name: `string`
|
||||
* groups?: `table`
|
||||
* sex?: `string`
|
||||
* dateofbirth?: `string`
|
||||
* data?: `table`
|
||||
* If not provided will load player's inventory data from the db.
|
||||
Reference in new issue
Block a user