[HELP]Dialogs
#1

Hello. I need somebody to help me, because i can't solve this problem for like 3hours...

Here is the code:
PHP код:
if(listitem == 2) { ShowPlayerDialog(playeriddialog1DIALOG_STYLE_LIST"{FFFFFF}Question","First question\nSecond question \nThird question","Continue",""), correct[playerb] += 1; }
else if(
listitem == || listitem == 1) return ShowPlayerDialog(playeriddialog1DIALOG_STYLE_LIST"{FFFFFF}Question","First question\nSecond question \nThird question","Continue",""), didntpass[playerb] = 1
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 ?
Reply
#2

bump
Reply
#3

First question is listitem 0 second is 1 third is 2 you get the point...
Reply
#4

omg im so dumb -_- Thanks man, you saved the day
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)