Tryin to make a quiz work
#2

pawn Код:
if(response)
{
    switch(listitem)
    {
        case 0:
        {
            SendClientMessage(playerid, COLOR_RED, "You have successfully entered the correct answer!");
            ShowPlayerDialog(playerid, DIALOG_QUIZ1, DIALOG_STYLE_LIST, "What is the correct /me", "/me GIMME YOUR MONEY\n* MadeMan attempts to punch John\n* MadeMan BRB NEWB", "Continue" ,"Cancel");
        }
        case 1:
        {
            SendClientMessage(playerid, COLOR_RED, "You have entered the wrong answer!");
            Kick(playerid);
            return 0;
        }
        case 2:
        {
            SendClientMessage(playerid, COLOR_RED, "You have entered the wrong answer!");
            Kick(playerid);
            return 0;
        }
    }
}
Reply


Messages In This Thread
Tryin to make a quiz work - by HarrySidwell - 06.04.2012, 13:54
Re: Tryin to make a quiz work - by MadeMan - 06.04.2012, 14:05
Re: Tryin to make a quiz work - by HarrySidwell - 06.04.2012, 14:07
Re: Tryin to make a quiz work - by MadeMan - 06.04.2012, 14:15

Forum Jump:


Users browsing this thread: 1 Guest(s)