Swaps slots in specified inventories.
exports.ox_inventory:SwapSlots(fromInventory, toInventory, slot1, slot2)
- fromInventory:
table
orstring
ornumber
- toInventory:
table
orstring
ornumber
- slot1:
number
- slot2:
number
Swaps slots in specified inventories.
exports.ox_inventory:SwapSlots(fromInventory, toInventory, slot1, slot2)
table
or string
or number
table
or string
or number
number
number