local PLAYER = FindMetaTable("Player")
--Adds items to a players inventory
function PLAYER:UB3AddItem(itemID, amount)
if self._ub3inv[itemID] == nil then
self._ub3inv[itemID] = amount
else
self._ub3inv[itemID] = self._ub3inv[itemID] + amount
end
print("added item", itemID, amount, self)
self:UB3UpdateClient()
self:UB3SaveInventory()
return true
end