28.02.2013, 19:19
You have this:
Which is checking to see if dialogid == MUSIC_DIALOG2 AND that the first button was clicked.
However, you then go on to see if the first button was NOT clicked- you can't do that, because the code underneath the if statement will only run IF the first button WAS clicked.
So, this:
Should be:
pawn Код:
&& response
However, you then go on to see if the first button was NOT clicked- you can't do that, because the code underneath the if statement will only run IF the first button WAS clicked.
So, this:
pawn Код:
if(dialogid == MUSIC_DIALOG2 && response)
pawn Код:
if(dialogid == MUSIC_DIALOG2)