11.12.2012, 19:22
If you have a ShowPlayerDialog with for example ID 52 in your gamemode and a ShowPlayerDialog with ID 52 in one of your filterscripts, they will both trigger that "case 52" of yours. As it tries to call OnDialogResponse with ID 52 in all scripts.
You can even have this:
Gamemode with ShowPlayerDialog with ID 52.
Filterscript 1 with ShowPlayerDialog with ID 52.
Filterscript 2 with OnDialogResponse with the 52 case.
OnDialogResponse will still be called in the second filterscript and it will still work.
You can even have this:
Gamemode with ShowPlayerDialog with ID 52.
Filterscript 1 with ShowPlayerDialog with ID 52.
Filterscript 2 with OnDialogResponse with the 52 case.
OnDialogResponse will still be called in the second filterscript and it will still work.