Opens an inventory using the passed data.
exports.ox_inventory:openInventory(invType, data)- invType:
string'player''shop''stash''crafting''container''drop''glovebox''trunk''dumpster'
- data:
numberorstringortable
Open the target player's inventory.
exports.ox_inventory:openInventory('player', 3)