Random Gamemode
#3

Use a timer and something like this:

pawn Код:
forward ChangeMode();
public ChangeMode()
{
   switch(random(3))
   {
        case 0: SendRconCommand("changemode GM1");
        case 1: SendRconCommand("changemode GM2");
        case 2: SendRconCommand("changemode GM3");\
   }
}

//When scripts tarts
SetTimer("ChangeMode", 10 * (60 * 60), 0); //Change 10 with your minutes.
Reply


Messages In This Thread
Random Gamemode - by muhib777 - 21.06.2011, 22:17
Re: Random Gamemode - by muhib777 - 22.06.2011, 10:26
Re: Random Gamemode - by Zh3r0 - 22.06.2011, 11:05
Re: Random Gamemode - by muhib777 - 22.06.2011, 12:40
Re: Random Gamemode - by alpha500delta - 22.06.2011, 13:58

Forum Jump:


Users browsing this thread: 2 Guest(s)