OnDialogResponse doesnt work in FS? - 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: OnDialogResponse doesnt work in FS? (
/showthread.php?tid=356620)
OnDialogResponse doesnt work in FS? -
ikey07 - 04.07.2012
Hello people, Im abit confused, or maybe its samp bug, but OnDialogResponse doesnt gets called in FS.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
new ss[128];
format(ss,sizeof(ss),"DialogID: %d",dialogid);
SendClientMessage(playerid,COLOR_BLUE,ss);
return 0;
}
I can click any Dialog made in FS, it doesnt do anything and it stopped to work from nothing, didnt edited FS orso.
any ideas?
Re: OnDialogResponse doesnt work in FS? -
IstuntmanI - 04.07.2012
You have to return 0; at OnDialogResponse in all of your scripts, if you want FSs with OnDialogResponse.
Re: OnDialogResponse doesnt work in FS? -
pasha97 - 04.07.2012
but there is already return 0
Re: OnDialogResponse doesnt work in FS? -
DBan - 04.07.2012
Quote:
Originally Posted by pasha97
but there is already return 0 
|
Costel meant in
ALL of his scripts, not just this one filterscript.
Re: OnDialogResponse doesnt work in FS? -
ikey07 - 04.07.2012
Dafaq still doesnt work, if there would be some dialogid missmatch or anything, it still should show at least dialog id, but its like OnDialogResponse is not called at all. :S
Weirdest is that it worked before as need and then just stopped from nothing.