mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
16 lines
342 B
Plaintext
16 lines
342 B
Plaintext
Creates and sets the player's inventory.
|
|
|
|
```lua
|
|
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.
|