GetItemsBy
Returns multiple 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 InventoryItem[]
(as table)
exports["avp_grid_inventory"]:GetItemsBy(inv, findBy)