Help ! A Simple 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: Help ! A Simple problem (
/showthread.php?tid=598133)
Help ! A Simple problem -
Amunra - 09.01.2016
Hai !
Please give me solution about ! Dialog response ,
I Have a two Filterscript with using Dialog response , When i load first Filterscript one,The filterscript two Dialog response is not Work...But if I Load first Filterscript two,The Filterscript one dialog is not Work !! How to fix that ! Please Help me
Soory my Bad English xD
Re: Help ! A Simple problem -
jlalt - 09.01.2016
change your dialog response id for example:
#define DIALOG_LOGIN 3294
to
#define DIALOG_LOGIN 3236
Re: Help ! A Simple problem -
iKarim - 09.01.2016
Go to OnPlayerDialog in both scripts, change the 'return 1;' or 'return true;' to 'return 0;' in both scripts
like
PHP код:
public OnDialogResponse([..])
{
[....]
return 0; // << at end of the callback in both scripts
}
Re: Help ! A Simple problem -
Amunra - 09.01.2016
Quote:
Originally Posted by PawnHunter
Go to OnPlayerDialog in both scripts, change the 'return 1;' or 'return true;' to 'return 0;' in both scripts
like
PHP код:
public OnDialogResponse([..])
{
[....]
return 0; // << at end of the callback in both scripts
}
|
More ?
Re: Help ! A Simple problem -
Elegy - 09.01.2016
Quote:
Originally Posted by jlalt
change your dialog response id for example:
#define DIALOG_LOGIN 3294
to
#define DIALOG_LOGIN 3236
|
Make #define DIALOG+1 890