Files
overextended.github.io/docs/ox_inventory/Functions/Server/setPlayerInventory.md
T
2022-12-11 15:00:43 +11:00

342 B

Creates and sets the player's inventory.

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.