SA-MP Forums Archive
Dialogs from 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: Dialogs from fs (/showthread.php?tid=331847)



Dialogs from fs - jap_D-Jap - 06.04.2012

I don't know why, but I can't open any dialog from any fs. Could you help me? After I start server and fs is loaded (or I loading it with rcon command in game) and I write command to open dialog no one dialog is opening, i tested about 20 fs and dialogs not opening, but other commands wich is not using dialogs working perfect.


Re: Dialogs from fs - FalconX - 06.04.2012

Quote:
Originally Posted by jap_D-Jap
Посмотреть сообщение
I don't know why, but I can't open any dialog from any fs. Could you help me? After I start server and fs is loaded (or I loading it with rcon command in game) and I write command to open dialog no one dialog is opening, i tested about 20 fs and dialogs not opening, but other commands wich is not using dialogs working perfect.
Hmm I guess your Dialog ID's are conflicting with the Gamemode. Okay try to remove all the filterscripts and add your dialog filterscript in the beginning of your Filter-script line.

Eg: base yourscript <--- now move "yourscript" to the beginning like this, yourscript base.

Try this, I guess this works.

-FalconX


Re: Dialogs from fs - SimonItaly - 06.04.2012

I think you've to return zero in the main gamemode to pass the dialog to other scripts. (https://sampwiki.blast.hk/wiki/OnDialogResponse)


Re: Dialogs from fs - jap_D-Jap - 06.04.2012

Nah, ids not like in gamemode, and I tried to put fs name first in line(don't work still). I think I made somethink, cus some time before all was ok. Maybe I added some "bad" fs or smth not good with game mode or smth like that?


Re: Dialogs from fs - jap_D-Jap - 18.04.2012

post Up!