RemoveItemBy
Removes an item from an inventory with the found findBy options.
- inv:
numberorstring - quantity:
number - findBy:
table - name?
string
- name?
- itemHash?
string
- itemHash?
- slot?
number
- slot?
- quantity?
number
- quantity?
- meta?
ItemMetaData
- meta?
The inv argument can be a number (as player ID) or the inventory uniqueID.
Returns boolean, response_message
exports["avp_inv_4"]:RemoveItemBy(inv, quantity, findBy)