SA-MP Forums Archive
ShowPlayerDialog doesn't work in a fliterscript what ever i do!! - 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: ShowPlayerDialog doesn't work in a fliterscript what ever i do!! (/showthread.php?tid=310659)



ShowPlayerDialog doesn't work in a fliterscript what ever i do!! - dalkgamler - 13.01.2012

i have a problem
i tried all i have copied a working showplayer dialog out of my gamemode but it doesnt work in my filterscript!
Can you help me?


Re: ShowPlayerDialog doesn't work in a fliterscript what ever i do!! - ScriptJorkis - 13.01.2012

make sure it loads in server.cfg. first at all

1.) dont type 'Function' doesn't work', Kalcor has script it correctly
2.) Show me the code


Re: ShowPlayerDialog doesn't work in a fliterscript what ever i do!! - Voldemort - 13.01.2012

Maybe dialog ids doesnt matches


Re: ShowPlayerDialog doesn't work in a fliterscript what ever i do!! - lamarr007 - 13.01.2012

I have this same "problem"... I use BamAdmin system, and i must put all dialogs in it.
If I donґt load BadAdmin filterscript, all dialogs from other filterscripts works.


Re: ShowPlayerDialog doesn't work in a fliterscript what ever i do!! - ScriptJorkis - 13.01.2012

well seems work fine to me i use dialog to create my weather menu filterscript
well maybe you did done something wrong?


Re: ShowPlayerDialog doesn't work in a fliterscript what ever i do!! - Jakku - 13.01.2012

You can't have two or more same dialog IDs in your code. If you do, change them.


AW: ShowPlayerDialog doesn't work in a fliterscript what ever i do!! - dalkgamler - 13.01.2012

its all correct
i have coppied something that work in my gamemode out into my filterscript and change the ids (all ids that have to been changed). the filterscript is loaded. i give the command ingame to open the dialog and i click something(i have tried all) and it close. nothing happens else


Re: ShowPlayerDialog doesn't work in a fliterscript what ever i do!! - Jakku - 13.01.2012

Could you please post some code?


AW: ShowPlayerDialog doesn't work in a fliterscript what ever i do!! - dalkgamler - 13.01.2012

i have downloaded a filter script too . it is the same problem!!


Re: ShowPlayerDialog doesn't work in a fliterscript what ever i do!! - ScriptJorkis - 13.01.2012

oh i know the problem check all filterscript/gamemodes if OnDialogResponse is on return 1; either return 0; if all are not in return 1; either return 0; change them to return 0; or either return 1;