28.08.2015, 16:52
Make sure all of your DIALOG_IDS in each script are unique. If you have a dialog in your gamemmode that has the same ID as a dialog in a filterscript, you will get conflicts (dialogs dissapearing or worse some code from another dialog gets executed) - If you don't return from the callback correctly.
EG, If you have a register dialog in your gamemode that is ID: 1, and in one of your filterscripts you have a race dialog with ID: 1, the server will execute the first dialog with that ID.
EDIT:
Also keep in mind you should return '0' if no dialog was found. See 'return value' note. https://sampwiki.blast.hk/wiki/OnDialogResponse
Notice in the examples on the wiki '0' is returned when no dialogid is found (see comments!).
EG, If you have a register dialog in your gamemode that is ID: 1, and in one of your filterscripts you have a race dialog with ID: 1, the server will execute the first dialog with that ID.
EDIT:
Also keep in mind you should return '0' if no dialog was found. See 'return value' note. https://sampwiki.blast.hk/wiki/OnDialogResponse
Notice in the examples on the wiki '0' is returned when no dialogid is found (see comments!).

