Random Gamemode
#4

Код:
59   public OnGameModeInit()
60   {
61
62   public ChangeMode()
63   {
64	switch(random(2))
65	{
66		case 0: SendRconCommand("ChangeMode Ship War");
67		case 1: SendRconCommand("ChangeMode Aircrafts");
68	}
69    }
70
71    //When scripts tarts
72    SetTimer("ChangeMode", 10 * (60 * 60), 0); //Change 10 with your minutes.

(62) : error 029: invalid expression, assumed zero
(62) : error 017: undefined symbol "ChangeMode"
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: 1 Guest(s)