[HELP] Dialog Question.
#1

Why does this work?

pawn Код:
else if(listitem == 11) return ShowPlayerDialog(playerid, 15, DIALOG_STYLE_MSGBOX, "Spectate", "a re you sure you want to spectate that player?", "Yes", "No");
And why does this dont work?

pawn Код:
else if(listitem == 11) return (dialogid == 15);
Because i dont want to open another dialog when i press at "Spectate"
I just want it to "Spectate" --> then he starte spectate



Like it is now...
"Spectate" ---> "Are you sure you want to..." ---> "SPECTATING STARTED"

Like i want it...
"Spectate" ---> "SPECTATE STARTED"
Reply


Messages In This Thread
[HELP] Dialog Question. - by Larsey123IsMe - 23.12.2010, 23:56
Re: [HELP] Dialog Question. - by Retardedwolf - 24.12.2010, 00:01
Re: [HELP] Dialog Question. - by Hiitch - 24.12.2010, 00:06
Re: [HELP] Dialog Question. - by Retardedwolf - 24.12.2010, 00:10

Forum Jump:


Users browsing this thread: 3 Guest(s)