Ejemplo n.º 1
0
 protected override void execute(CSteamID executorID, string parameter)
 {
     if (!Dedicator.isDedicated)
     {
         return;
     }
     if (!Level.exists(parameter))
     {
         CommandWindow.LogError(this.localization.format("NoMapErrorText", new object[]
         {
             parameter
         }));
         return;
     }
     if (Provider.isServer)
     {
         CommandWindow.LogError(this.localization.format("RunningErrorText"));
         return;
     }
     Provider.map = parameter;
     CommandWindow.Log(this.localization.format("MapText", new object[]
     {
         parameter
     }));
 }