SA-MP Forums Archive
Confliction? - 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: Confliction? (/showthread.php?tid=393192)



Confliction? - Joshswag - 17.11.2012

Whenever I add a filterscript to my server, that involves a dialog, it will conflict with another dialog in the GM, for instance if I'm an admin i'd conflict with the admin pin, if i was a player it'd conflict with the registry system, I don't understand why because the dialog ID's are all different, any ideas?


Re: Confliction? - JaKe Elite - 17.11.2012

Try changing the OnDialogResponse return..

(If it's about dialog)..


Re: Confliction? - Ballu Miaa - 17.11.2012

They are some dialog id's which are the same as you have in your game mode!

Change your game mode id's and make them unique. like each Starting with 557841+ID.


Re: Confliction? - Joshswag - 17.11.2012

Its not the dialog ID's, As i said I changed that.


Re: Confliction? - Ballu Miaa - 17.11.2012

Sometimes names can also conflict!


Re: Confliction? - Joshswag - 17.11.2012

@Romel, what do you mean? Sorry i'm not an experienced scripter? change it like from return 0 to 1? or something?


Re: Confliction? - JaKe Elite - 17.11.2012

Yes like that..


Re: Confliction? - Joshswag - 17.11.2012

In my gamemode?


Re: Confliction? - Horrible - 17.11.2012

Quote:
Originally Posted by Joshswag
Посмотреть сообщение
In my gamemode?
https://sampwiki.blast.hk/wiki/OnDialogResponse
"Returns Returning 0 in this callback will pass the dialog to another script in case no matching code were found in your gamemode's callback."


Re: Confliction? - Joshswag - 17.11.2012

Dialog response returns 1, on my filterscript.