Files
overextended.github.io/docs/ox_inventory/Functions/Server/Inventory/Search.md
T
2023-04-27 12:40:25 +10:00

383 B

Searches an inventory for a specified item.

exports.ox_inventory:Search(inv, search, item, metadata)
  • inv: table or string or number
  • search: string
  • item: table or string
  • metadata?: table or string

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.