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

351 B

Get a slot id in an inventory matching the given name and metadata.

exports.ox_inventory:GetSlotIdWithItem(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: number?