onObserverAdded
Triggered when a new player added to the inventory observers.
- inventoryUniqueID
string
- source
number
(Added playerID)
addEventHandler("avp_inv:onObserverAdded", function(inventoryUniqueID, source)
local weight = exports["avp_inv_4"]:GetWeight(inventoryUniqueID)
print(weight)
end)