Posts: 120
Threads: 22
Joined: Jul 2011
Reputation:
0
What is the difference?
If I want to make a house system and leave it out of my script, what is better to use filterscript or include?
Posts: 781
Threads: 12
Joined: May 2011
Reputation:
0
An include is a directive which contains native functions and declarations. The pre-processor or 'compiler' in this case, is aware of the include's contents, and allows full user manipulation.
A filterscript is a file which may contain the same content as a gamemode (though modified) usage of native callbacks, functions etc. Filterscripts released does not affect the gamemode, though may cause conflicts.
Posts: 120
Threads: 22
Joined: Jul 2011
Reputation:
0
And would making a house system be better through a include or filterscript, in your opinion of coarse.
Also what are the includes default functions and how can I make a new include?
Posts: 1,250
Threads: 92
Joined: Mar 2011
Reputation:
0
If you want something that you'll be using for 2 or more different scripts, use Includes.
Why? Because you just need to #include <it> and use the functions without writing all over again.
Make FilterScripts otherwise.