SA-MP Forums Archive
When to use filterscript and when to use gamemode - 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: When to use filterscript and when to use gamemode (/showthread.php?tid=555993)



When to use filterscript and when to use gamemode - xX4m4zingXx - 09.01.2015

Hello everyone,

I am new to scripting and I want to learn it.
First thing I wanted to know is, when do I use a filterscript and when do I use a gamemode.
I know how to use it, but I mean like.
What kind of things do I code in a filterscript and what kind of things do I code in a gamemode?
I am now busy with my first script and it's going to be some commands.
Commands like: help and e
help to show the commands and e to start a vehicle engine.
Should I create a seperate filterscript to handle the engine starting or should I add it in the commands filterscript?
If anyone can answer these three questions, that would be great.

Greets xX4m4zingXx


Re: When to use filterscript and when to use gamemode - CalvinC - 09.01.2015

Just script it all in your gamemode.
Filterscripts are generally just a file given when downloading others srcipts, that is easier to use than implementing their script into your gamemode.


Re: When to use filterscript and when to use gamemode - xX4m4zingXx - 09.01.2015

Ty, both.
I think I will just create much filterscripts.
what is less laggy? filterscripts or just in gm?


Re: When to use filterscript and when to use gamemode - xX4m4zingXx - 09.01.2015

Ok, Thank you.