SA-MP Forums Archive
Includes taking place of FS - 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: Includes taking place of FS (/showthread.php?tid=107032)



Includes taking place of FS - iron_war_lord - 07.11.2009

Hey guys, I was wondering (with me being paranoid about reaching the FS limit) would it be possible to, instead of running an FS (I never unload an FS, or inject while the server is running) I could use Includes instead. Being as I really like to keep my code tidy, would this be viable. Any pros or cons?


Re: Includes taking place of FS - MadeMan - 07.11.2009

Bad thing is that some variables may be the same with your script ones and then you have to change them all.

Good thing is that you can use your "FS" variables in your gamemode. For example if you have a login system as a FS then you can check if player is logged in inside GM.


Re: Includes taking place of FS - Badger(new) - 07.11.2009

You can have 16 filterscripts loaded.... And if you are that worried, try combining them into less, or putting them into your Gamemode,