mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
367 B
367 B
Get the total item count for all items in an inventory with the given name and metadata.
exports.ox_inventory:GetItemCount(inv, itemName, metadata, strict)
- inv:
tableorstringornumber - itemName:
string - metadata?:
table - strict?:
boolean- Strictly match metadata properties, otherwise use partial matching.
Returns: number?