NAme help
#6

Код:
// above main()
forward Hostchange();

public OnFilterScriptInit()// or gamemodeinti
{
   SetTimer("Hostchange",1000,1); // Change 1000 to whatever you want this is in milliseconds.
   return 1;
}

public Hostchange()
{
   new var = random(3);
   switch (var)
   {
     case 0: SendRconCommand("hostname server name 1");
     case 1: SendRconCommand("hostname Server name 2");
     case 2: SendRconCommand("hostname servre name 3");
   }
}
Add this.
Reply


Messages In This Thread
NAme help - by itachi - 08.07.2017, 13:14
Re: NAme help - by Bingo - 08.07.2017, 13:17
Re: NAme help - by itachi - 08.07.2017, 13:19
Re: NAme help - by Bingo - 08.07.2017, 13:22
Re: NAme help - by itachi - 08.07.2017, 13:25
Re: NAme help - by Bingo - 08.07.2017, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)