Files
overextended.github.io/docs/ox_inventory/Functions/Server/Inventory/GetSlotsWithItem.md
T
2023-05-06 22:59:48 +10:00

356 B

Get data all slots in an inventory matching the given name and metadata.

exports.ox_inventory:GetSlotsWithItem(inv, itemName, metadata, strict)
  • inv: table or string or number
  • itemName: string
  • metadata?: table
  • strict?: boolean
    • Strictly match metadata properties, otherwise use partial matching.

Returns: table[]?