Quote:
Originally Posted by DRIFT_HUNTER
Few days ago i suggested that new.pwn is updated by SAMP team. There was a reason for these, one of the reasons is that they for sure know witch callback has to return what.
For example, OnDialogResponse you return 1 while it has to be 0 so that these callback is called in other FS's
|
Actually it's up to every scripter to modify the callbacks according to their needs. Trust me, there are gamemodes that don't use any filterscripts to show dialogs, so OnDialogResponse return value can be 1 in the gamemode. Of course, some might want to use this callback in several filterscripts, so they have to return 0 in gamemode.