23.12.2010, 23:56
Why does this work?
And why does this dont work?
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"
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");
pawn Код:
else if(listitem == 11) return (dialogid == 15);
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"