onItemRemoved
Triggered when an item got removed from the inventory.
info
This event is not triggered when: You have 4 eggs, and 2 of them were removed.
This event only triggered when a full stack is removed and the itemHash is fully destroyed.
- inventoryUniqueID:
string
- item:
InventoryItem
addEventHandler("avp_inv:onItemRemoved", function(inventoryUniqueID, item)
-- Do something with it.
print(item.itemHash)
end)