Ejemplo n.º 1
0
 public void CMD_DestroyGameMode(Client client, uint gmId)
 {
     try
     {
         BaseGameMode gameMode = GameModeHandler.Instance.GetGameModeById(gmId);
         gameMode.DestroyGameMode();
         Main.Logger.LogClient(client, $"Destroyed Game Mode with Id {gmId}");
     }
     catch (Exception e)
     {
         Main.Logger.LogClient(client, e.Message);
     }
 }