A multi-command.
#9

Quote:
Originally Posted by Donya
Посмотреть сообщение
pawn Код:
case 3:
case 4:
case 6:
/facepalm

"case 6:" must be "Case 5:".
Lolz



pawn Код:
CMD:search(playerid, params[])
{
    switch((random(6))
    {
        case 0: SendClientMessage(playerid, 0xFFFFFFFF, "message 1");
        case 1: SendClientMessage(playerid, 0xFFFFFFFF, "message 2");
        case 2: SendClientMessage(playerid, 0xFFFFFFFF, "message 3");
        case 3: SendClientMessage(playerid, 0xFFFFFFFF, "message 4");
        case 4: SendClientMessage(playerid, 0xFFFFFFFF, "message 5");
        case 5: SendClientMessage(playerid, 0xFFFFFFFF, "message 6");
    }
    return 1;
}
Reply


Messages In This Thread
A multi-command. - by iGetty - 08.07.2011, 14:35
Re: A multi-command. - by Rolyy - 08.07.2011, 15:24
Re: A multi-command. - by iGetty - 08.07.2011, 15:25
Re: A multi-command. - by Rolyy - 08.07.2011, 15:28
Re: A multi-command. - by iGetty - 08.07.2011, 15:28
Re: A multi-command. - by Wesley221 - 08.07.2011, 15:30
Re: A multi-command. - by Rolyy - 08.07.2011, 15:43
Re: A multi-command. - by Donya - 08.07.2011, 15:56
Re: A multi-command. - by Rolyy - 08.07.2011, 16:01
Re: A multi-command. - by Donya - 08.07.2011, 16:10

Forum Jump:


Users browsing this thread: 2 Guest(s)