GameServer()->SendChatTarget(GetPlayer()->GetCID(), "hello")
whether this gets executeddbg_msg("test", "Ammo: %d", .......m_Ammo)
-1
after they are deleted.
Also check if index is -1
before trying to delete it to reduce duplicate code when calling the methods.