06.04.2012, 14:05
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;
}
}
}