SA-MP Forums Archive
Messed up 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)
+--- Thread: Messed up dialogs. (/showthread.php?tid=592752)



[SOLVED]Messed up dialogs. - SkinnyF - 29.10.2015

Fixed myself. Thanks


Re: Messed up dialogs. - SecretBoss - 29.10.2015

When you click on one all of them are called? If it is like it is because you used if(response) twice


Re: Messed up dialogs. - SkinnyF - 29.10.2015

No. When i click all of them they all responding to the third i don't know why. For example it should respond 1 to 1 and et.c but now it responds like this: 1-3,2-3,3-3. Y i know my english is bad sorry xD


Re: Messed up dialogs. - MeCom - 29.10.2015

is your dialog defineS numbered correctly like :

PHP код:
#define DIALOG_ONE        1
#define DIALOG_TWO        2
#define DIALOG_THREE        3
#define DIALOG_FOUR        4
#define DIALOG_FIVE        5 
instead of:


PHP код:
#define DIALOG_ONE        1
#define DIALOG_TWO        2
#define DIALOG_THREE        3
#define DIALOG_FOUR        1
#define DIALOG_FIVE        2 
?


Re: Messed up dialogs. - SkinnyF - 29.10.2015

Yes my defines r numbered correctly :\


Re: Messed up dialogs. - iKarim - 29.10.2015

Make sure no dialogs using those ids.


Re: Messed up dialogs. - SkinnyF - 29.10.2015

Nope, noone is using those ids.


Re: Messed up dialogs. - SkinnyF - 30.10.2015

BUMP