Example #1
0
        public void InvokePlayerHasRespawned(int playerID, VTankObject.Point position)
        {
            Player player = Game.GetPlayerByID(playerID);
            if (player != null)
            {
                player.Respawn(position);

                PlayerRespawnEventArgs args = new PlayerRespawnEventArgs(player);
                PlayerHasRespawned(args);
                args.Dispose();
            }
        }