How to add a back button to a dialog?
#8

You have this:

pawn Код:
&& response
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:

pawn Код:
if(dialogid == MUSIC_DIALOG2 && response)
Should be:

pawn Код:
if(dialogid == MUSIC_DIALOG2)
Reply


Messages In This Thread
How to add a back button to a dialog? - by rangerxxll - 28.02.2013, 03:39
Re: How to add a back button to a dialog? - by mastermax7777 - 28.02.2013, 03:47
Re: How to add a back button to a dialog? - by MattSlater - 28.02.2013, 04:13
Re: How to add a back button to a dialog? - by rangerxxll - 28.02.2013, 05:06
Re: How to add a back button to a dialog? - by Scenario - 28.02.2013, 07:00
Re: How to add a back button to a dialog? - by park4bmx - 28.02.2013, 07:08
Re: How to add a back button to a dialog? - by rangerxxll - 28.02.2013, 18:33
Re: How to add a back button to a dialog? - by Scenario - 28.02.2013, 19:19
Re: How to add a back button to a dialog? - by rangerxxll - 28.02.2013, 19:41

Forum Jump:


Users browsing this thread: 1 Guest(s)