Dialogs not working. - 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 not working. (
/showthread.php?tid=449867)
Dialogs not working. -
RandomDude - 10.07.2013
The dialogs in my gamemode work but not in my filterscripts.
I shall post the ids.
Game Mode Dialog Id's.
pawn Код:
#define Dialog_Help 1
#define Dialog_Credits 2
#define Dialog_Rules 3
#define Dialog_About 4
#define Dialog_Cmds 5
#define Dialog_Teles 6
#define Dialog_Myweather 7
#define Dialog_Color 8
#define Dialog_Stunts 9
#define Dialog_Jumps 10
#define Dialog_Clothes 3012
#define DIALOG_TYPE_MAIN 144
#define DIALOG_TYPE_PAINTJOBS 145
#define DIALOG_TYPE_COLORS 146
#define DIALOG_TYPE_EXHAUSTS 147
#define DIALOG_TYPE_FBUMPS 148
#define DIALOG_TYPE_RBUMPS 149
#define DIALOG_TYPE_ROOFS 150
#define DIALOG_TYPE_SPOILERS 151
#define DIALOG_TYPE_SIDESKIRTS 152
#define DIALOG_TYPE_BULLBARS 153
#define DIALOG_TYPE_WHEELS 154
#define DIALOG_TYPE_CSTEREO 155
#define DIALOG_TYPE_HYDRAULICS 156
#define DIALOG_TYPE_NITRO 157
#define DIALOG_TYPE_LIGHTS 158
#define DIALOG_TYPE_HOODS 159
#define DIALOG_TYPE_VENTS 160
In the filterscript.
pawn Код:
#define DIALOGID 2222
#define DIALOG_TYPE_SERVLOCK 7002
#define DIALOG_TYPE_SERVUNLOCK 7001
#define DIALOG_TYPE_SERVPASS 7003
#define DIALOG_TYPE_RCON2 7004
#define DIALOG_TYPE_QUESTION 7010
#define DIALOG_TYPE_PM 7000
Re: Dialogs not working. -
exclide1 - 10.07.2013
Add the filterscript first in the server.cfg "filterscripts" line, like this:
Код:
filterscripts LuxAdmin
Or change the return 1 on OnDialogResponse in all of your filtetscripts to return 0.
Re: Dialogs not working. -
RandomDude - 10.07.2013
i HAVE TRIED THAT already.
Re: Dialogs not working. -
KingyKings - 10.07.2013
Note: If your using another Filterscript or Gamemode, with Dialogs involved ANYWHERE, it can stop these from working.
Re: Dialogs not working. -
RandomDude - 11.07.2013
N0P3 Still does not work
Re: Dialogs not working. -
SilverKiller - 11.07.2013
Use easydialog by Emmet_, it will fix your problems!
https://sampforum.blast.hk/showthread.php?tid=377140
Re: Dialogs not working. -
horsemeat - 11.07.2013
do your dialogs on all your filter scripts end in a return 0; because according to here:
https://sampwiki.blast.hk/wiki/OnDialogResponse that's how it's done