22.02.2015, 21:01
Quote:
Your reply just tells me that you didn't even look at the code or you have no idea what this code does (except for the main concept of course).
1. OnDialogResponse should return 0 since it's a filterscript and most likely the callback is in use by the gamemode itself. 2. Not wrong but better would be if you use a switch for your dialog id's. 3. Also not wrong but better would be if you would use an enum to store dialogs in, considering that dialog ID 1 is probably in use by the gamemode. 4. Since it's a filterscript, you can remove pawn Код:
|