SA-MP Forums Archive
Dialog help! - 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: Dialog help! (/showthread.php?tid=348723)



Dialog help! - sgtjones12 - 06.06.2012

CLOSE THIS PLEASE THANKS


Re: Dialog help! - MadeMan - 06.06.2012

Look at the example

https://sampwiki.blast.hk/wiki/OnDialogResponse


Re: Dialog help! - sgtjones12 - 06.06.2012

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
I''ve tried that before i came on samp forums for help :P but it always gives the error saying that pawno has stopped working


Re: Dialog help! - pasha97 - 06.06.2012

there should be no if(!response)


Re: Dialog help! - MadeMan - 06.06.2012

Show the code you tried.


Re: Dialog help! - sgtjones12 - 06.06.2012

Quote:
Originally Posted by pasha97
Посмотреть сообщение
there should be no if(!response)
I took it out and the same thing happened


Re: Dialog help! - sgtjones12 - 06.06.2012

I found solution i added this and it worked

if(!response) return SendClientMessage(playerid, 0xFFFFFFFF, "You canceled!");