Files
overextended.github.io/docs/ox_inventory/Functions/Client/Inventory/GetSlotWithItem.md
T
2023-05-08 22:02:47 +10:00

320 B

Get data for a slot in the player's inventory matching the given name and metadata.

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

Returns: table?