05.04.2014, 14:07
try this
pawn Код:
if(dialogid == 5) // register rp quiz 1
{
if(response)
{
switch(listitem) // We will now check the RP quiz answers.
{
case 0: // Whrong answer.
{
RPQuiz[playerid] = 1;
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Roleplay Quiz (2/5) -- OOC refers to the world of the..","...Characters, rather than the world of the players.\n...Players, rather than the world of the characters.\n...Players and the world of the characters.","Select","Cancel");
}
case 1: // Correct Answer
{
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Roleplay Quiz (2/5) -- OOC refers to the world of the..","...Characters, rather than the world of the players.\n...Players, rather than the world of the characters.\n...Players and the world of the characters.","Select","Cancel");
}
case 2: // Whrong answer.
{
RPQuiz[playerid] = 1;
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Roleplay Quiz (2/5) -- OOC refers to the world of the..","...Characters, rather than the world of the players.\n...Players, rather than the world of the characters.\n...Players and the world of the characters.","Select","Cancel");
}
}}}