Functions
Server
Inventory
GetContainerFromSlot

Returns the inventory associated with the container linked in the slot of the given inventory.

exports.ox_inventory:GetContainerFromSlot(inv, slotId)
  • inv: table or string or number
  • slotId: number

Returns: table?