void OnServerInitialized()
        {
            usingCS    = false;
            hasStarted = false;

            LoadVariables();
            RegisterMessages();

            instance  = this;
            kit       = configData.EventSettings.DefaultKit;
            spawnFile = configData.EventSettings.DefaultSpawnfile;
        }
Esempio n. 2
0
 void OnServerInitialized()
 {
     isCurrent = false;
     Active    = false;
     if (EventManager == null)
     {
         Puts(MSG("noEvent"));
         return;
     }
     LoadVariables();
     chopperSurvival = this;
     config          = configData;
     EventSpawnFile  = config.EventSettings.DefaultSpawnfile;
     MainColor       = config.Messaging.MainColor;
     MSGColor        = config.Messaging.MSGColor;
     RegisterMessages();
     RegisterGame();
 }