SA-MP Forums Archive
Dialogs dont work - 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: Dialogs dont work (/showthread.php?tid=565102)



Dialogs dont work [REP+] - EptunLP - 25.02.2015

Good morning guys I need your help, dialogs does not work :/. When a dialog pops up and i choose a option the dialog closes. I dont know where's the problem.

Code: http://pastebin.com/tb2BXcu1


Re: Dialogs dont work - De4dpOol - 25.02.2015

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    return 0;//Make sure you add return 0 to your gamemode and all filterscripts.
}
That's it. Just replace return 1 with return 0 in gamemode and all filterscripts.


Re: Dialogs dont work - EptunLP - 25.02.2015

Still does not work

FS right now: http://pastebin.com/7bDw0qQm
Gamemode: needs to be for download because its too big for attachment and pastebin: http://www67.zippyshare.com/v/z8rJc7k4/file.html


Re: Dialogs dont work - EptunLP - 25.02.2015

//bump


Re: Dialogs dont work - ReshiramZekrom - 25.02.2015

It happens sometimes to me when I used some dialog in filterscript maybe it's happen because they have the same ID, I guess.. In fact sometimes I was forced to do /rcon unloadfs carmenu to use a tool such us the textdraws creator one, otherwise the dialog was closed when I tried to click an option