Posts: 265
Threads: 59
Joined: Sep 2013
Hello everyone, so I am kinda new to all of this, and I was wondering, what's the difference between filterscript, and a regular script, I mean why can't we just insert the whole code inside the pawn, and we have to seperate part of it?
I am sorry if it's the wrong section, but it really confuses me..thanks in advance.
Posts: 96
Threads: 11
Joined: Feb 2013
Reputation:
0
you meant the Difference between a filterscript and a "Gamemode" i believe.
It's just always better to have all of the scripts in your main "Gamemode" instead of having many filterscripts.
less filterscript you have, less lag and better fps.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
The gamemode is the main mode for your server. Filterscripts are used as "mini" scripts that can be combined with.
Personally, I prefer using everything to my gamemode and using only a filterscript with all the objects in it.
Posts: 265
Threads: 59
Joined: Sep 2013
Thanks everyone, so there's no real difference between FS and GM...just to cause lag I guess lol.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Well, it depends on you. Some people prefer using a filterscript with an admin system, a filterscript with a racing system etc..
And no, actually if the code was written efficiently you're not going to have lag problems.
Posts: 96
Threads: 11
Joined: Feb 2013
Reputation:
0
It's better to not have your admin system in a filterscript, as it has the Register/Login system with it. Better to have it in your Gamemode.