Clears the specified inventory. The keep
argument is either a string or an array of strings containing the name(s) of the item(s) to keep in the inventory after clearing.
exports.ox_inventory:ClearInventory(inv, keep)
- inv:
table
orstring
ornumber
- keep?:
string
orstring[]