Returns all slots with items in a inventory.
exports.ox_inventory:GetInventoryItems(inv, owner)
- inv:
number
ortable
- owner?:
string
orboolean
Example:
local playerItems = exports.ox_inventory:GetInventoryItems(source)
Returns all slots with items in a inventory.
exports.ox_inventory:GetInventoryItems(inv, owner)
number
or table
string
or boolean
Example:
local playerItems = exports.ox_inventory:GetInventoryItems(source)