[GameMode] Updated new.pwn
#6

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


Messages In This Thread
Updated new.pwn - by f0cus - 01.02.2015, 13:23
Re : Updated new.pwn - by Lacrim - 03.02.2015, 10:31
Re: Updated new.pwn - by Min99 - 03.02.2015, 10:43
Re: Updated new.pwn - by f0cus - 04.02.2015, 16:09
Re: Updated new.pwn - by DRIFT_HUNTER - 05.02.2015, 13:30
Re: Updated new.pwn - by HazardouS - 05.02.2015, 14:41

Forum Jump:


Users browsing this thread: 3 Guest(s)