Dialogs not working.
#1

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
Reply
#2

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.
Reply
#3

i HAVE TRIED THAT already.
Reply
#4

Note: If your using another Filterscript or Gamemode, with Dialogs involved ANYWHERE, it can stop these from working.
Reply
#5

N0P3 Still does not work
Reply
#6

Use easydialog by Emmet_, it will fix your problems!

https://sampforum.blast.hk/showthread.php?tid=377140
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)