SA-MP Forums Archive
Putting created functions to callback for example.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Putting created functions to callback for example.. (/showthread.php?tid=484667)



Putting created functions to callback for example.. - Riwerry - 31.12.2013

Hello guys, I want to make my callbacks more readable and it so I use less codes in this callback, how? I just created for example in bottom of script new function "functionname()" I want to put it now to some callback. I am interested can it cause some problems? Or can it slow code? I really want to know it..


Re: Putting created functions to callback for example.. - Excelize - 31.12.2013

It will slow code, but not by any life-threatening amounts, due to Pawno having to re-read the code over and over. I suggest don't use it, it messes up code for other people(If you have multiple developers.)


Re: Putting created functions to callback for example.. - Riwerry - 31.12.2013

Heh okay, thanx dude.