local meta = FindMetaTable("Player") function meta:AddToBag( ent ) table.insert(inventory[self:SteamID()], ent:GetClass()) end function meta:DropItem( ent ) table.RemoveByValue(inventory[self:SteamID()], ent:GetClass() ) end function meta:DebugBag( ) print("Table - "..inventory[self:SteamID()]) PrintTable(inventory[self:SteamID()]) end concommand.Add("debugbag", DebugBag)