Searches an inventory for a specified item.
exports.ox_inventory:Search(inv, search, item, metadata)
- inv:
table
orstring
ornumber
- search:
string
- item:
table
orstring
- metadata?:
table
orstring
search
can be either 'slots'
or 'count'
, where slots will return a table of data
and count will return the found amount of the specified item.