GetItemQuantityBy
Returns the quantity of all of the found items with the specified search options.
- inv:
number
orstring
- findBy:
table
- name?
string
- name?
- itemHash?
string
- itemHash?
- x?
number
- x?
- y?
number
- y?
- isWeared?
boolean
- isWeared?
- meta?
ItemMetaData
- meta?
The inv argument can be a number (as player ID) or the inventory uniqueID.
Returns number
exports["avp_grid_inventory"]:GetItemQuantityBy(inv, findBy)