mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
372 B
372 B
Searches an inventory for a specified item.
exports.ox_inventory:Search(inv, search, item, metadata)
- inv:
stringornumber - search:
string - item:
tableorstring - metadata?:
tableorstring
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.