onItemAdded
Triggered when a inventory receives a new item. (with addItem or any other function)
- inventoryUniqueID:
string
- item:
InventoryItem
addEventHandler("avp_inv:onItemAdded", function(inventoryUniqueID, item)
-- Do something with it.
print(item.itemHash)
end)