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