2 Dialog Problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 2 Dialog Problem (
/showthread.php?tid=511042)
2 Dialog Problem -
WorldPro - 03.05.2014
Hey!
i have this thing:
http://pastebin.com/Udau2fKP
and when i press: Cancel , on the Start2 dialog , i get the response of the Start1 dialog.
what to do ?
Re: 2 Dialog Problem -
Nourdin - 03.05.2014
You can use:
pawn Код:
if(!response) return KickWithMessage(playerid, COLOR_RED, "You Choosed The Cancel Option , Have a nice day outsite!");
Re: 2 Dialog Problem -
NviDa - 03.05.2014
Put a button more on start2 and see.
Re: 2 Dialog Problem -
WorldPro - 03.05.2014
Quote:
Originally Posted by NviDa
Put a button more on start2 and see.
|
dosen't work..
Re: 2 Dialog Problem -
XK - 03.05.2014
just use a timer
pawn Код:
else
{
SendClientMessage(playerid, -1, "You Choosed The Cancel Option , Have a nice day outsite!");
SetTimer("kick", 1000, false); // and make the timer to kick the player
}
Re: 2 Dialog Problem -
WorldPro - 03.05.2014
Quote:
Originally Posted by XK
just use a timer
pawn Код:
else { SendClientMessage(playerid, -1, "You Choosed The Cancel Option , Have a nice day outsite!"); SetTimer("kick", 1000, false); // and make the timer to kick the player }
|
i did /Help command with the dialog:
PHP код:
ShowPlayerDialog(playerid, Start2, DIALOG_STYLE_MSGBOX, "Help Notice", "/RDJobs - Racing / Drift Jobs\n/GPS - Show GPS Locations\n/SOON - Soon Soon", "Close", "");
and i have another dialog called Start1 , and they got mess..
shen i press Close on the /Help command , i getting the same thing at the Start1 dialog.. :X
Re: 2 Dialog Problem -
WorldPro - 04.05.2014
bump.
Re: 2 Dialog Problem -
Konstantinos - 04.05.2014
Do Start1 and Start2 have the same dialogid? If yes, they will conflict each other. Their dialog IDs must differ.