message in a row
#1

I do not want random , I want to go in a row automessages.
like:
first message 1,next message 2, next message 3,next message 4,
i dont want random like:message 2 ,message 1,message 3
Код:
public RandomMsg()
{
    switch(random(3))
    {
    case 0: SendClientMessageToAll(COLOR_SERVERMSG, "message 1");
    case 1: SendClientMessageToAll(COLOR_SERVERMSG, "message 2");
    case 2: SendClientMessageToAll(COLOR_SERVERMSG, "message 3");  
    case 3: SendClientMessageToAll(COLOR_SERVERMSG, "message 4");  
    case 4: SendClientMessageToAll(COLOR_SERVERMSG, "message 5");  
    case 5: SendClientMessageToAll(COLOR_SERVERMSG, "message 6");  

	}
}
Reply


Messages In This Thread
message in a row - by TiXz0r - 02.03.2015, 23:41
Re: message in a row - by Schneider - 02.03.2015, 23:49
Re: message in a row - by TiXz0r - 03.03.2015, 00:09

Forum Jump:


Users browsing this thread: 3 Guest(s)