Functions
Server
Inventory
GetItemSlots

Returns the number of slots the specified item is in, the item's total count and the remaining empty slots.

exports.ox_inventory:GetItemSlots(inv, item, metadata)
  • inv: table or string or number
  • item: table or string
  • metadata?: table