18.01.2015, 17:10
Hello. I need somebody to help me, because i can't solve this problem for like 3hours...
Here is the code:
So the problem is, that the correct question is "Second question", but when i press it, it doesn't count as correct answer. The correct answer count's as "Third question". Wth ?
Here is the code:
PHP код:
if(listitem == 2) { ShowPlayerDialog(playerid, dialog1, DIALOG_STYLE_LIST, "{FFFFFF}Question","First question\nSecond question \nThird question","Continue",""), correct[playerb] += 1; }
else if(listitem == 3 || listitem == 1) return ShowPlayerDialog(playerid, dialog1, DIALOG_STYLE_LIST, "{FFFFFF}Question","First question\nSecond question \nThird question","Continue",""), didntpass[playerb] = 1;