Dialogs - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dialogs (
/showthread.php?tid=249139)
Dialogs -
fissekarl - 17.04.2011
Hello.
I have a register/login system and if you press "Cancel" it kicks you, the registration is fine.
But when I made a weapon dialog list and I press "Buy" it registeres me and when I press "Cancel" it kicks me :O
So I tried to put it in a FS, and still the same.
Help please?
Re: Dialogs -
Gertin - 17.04.2011
you have rp gamemode ?
Re: Dialogs -
fissekarl - 17.04.2011
No I don't
Re: Dialogs -
Anteino - 17.04.2011
I had the same problem too. I guess you are using two different filter scripts? If you do so you might think you can use the same dialog id's in them, but you can't. One filterscripts OnDialogResponse can act on an input of a dialog in another filterscript. So change the dialogid's in the two scripts.
Does this answer your question?
Re: Dialogs -
Stigg - 17.04.2011
EDIT: Nevermind.
Re: Dialogs -
fissekarl - 17.04.2011
Anteino I checked all filterscripts & gamemode nothing had the dialog ID 1337 & 1338.
So right before I post this, I changed it to really random numbers.
Still it registeres me when I press buy and kicks me when I press "Cancel"
Please help
Re: Dialogs -
Anteino - 17.04.2011
Post both codes please or add me on msn
a.debock@skategroup.nl