Functions
Server
Inventory
SwapSlots

Swaps slots in specified inventories.

exports.ox_inventory:SwapSlots(fromInventory, toInventory, slot1, slot2)
  • fromInventory: table or string or number
  • toInventory: table or string or number
  • slot1: number
  • slot2: number