Files
overextended.github.io/docs/ox_inventory/Functions/Client/Inventory/GetItemCount.md
T
2023-05-23 02:16:59 +10:00

364 B

keywords
keywords
hasitem

Get the total item count for all items in the player's inventory with the given name and metadata.

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

Returns: number?