SA-MP Forums Archive
Extra processing work ?? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Extra processing work ?? (/showthread.php?tid=77542)



Extra processing work ?? - CBFASI - 12.05.2009

Filterscript and duplicated functions..

Is having same functions within different filterscripts going to cause more processing work than 1 function that is callremoted from other filterscripts??

Trying to reduce problems on a large group of scripts and looking at many possiblities..


Re: Extra processing work ?? - Weirdosport - 12.05.2009

Have each function defined in each script is alot better than using call remote, which from what I've heard is laggy/inefficient/etc..

If you're trying to keep it efficient you could just make a big include full of stocks, and then have all your scripts "link" to it with #include.

That way only the functions that each script needs will be included in their respective .amx's