RemoveItemBy
Removes an item from an inventory with the found findBy options.
- inv:
number
orstring
- quantity:
number
- 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 boolean
, response_message
exports["avp_grid_inventory"]:RemoveItemBy(inv, quantity, findBy)