Functions
Server
Inventory
GetEmptySlot

Get the first available empty slot in an inventory.

exports.ox_inventory:GetEmptySlot(inv)
  • inv: table or string or number

Returns: number?