SA-MP Forums Archive
Putting all objects and vehicles into a filterscript? - 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: Putting all objects and vehicles into a filterscript? (/showthread.php?tid=304027)



Putting all objects and vehicles into a filterscript? - Hoborific - 16.12.2011

Any objections against this? Would make the gamemode so much cleaner.


Just curious if there is any downsides to this.


Re: Putting all objects and vehicles into a filterscript? - MP2 - 16.12.2011

Putting them in an include would be better.


AW: Putting all objects and vehicles into a filterscript? - BigETI - 16.12.2011

There is no difference..
Except you want to create something which you can load/unload something In-Game, then a filterscript would be better. (Of course there are more advanced ways how to do it inside a gamemode)

Edit:
Quote:

Putting them in an include would be better.

includes are text replacements for scripts tbh so there is no difference afaik


Re: AW: Putting all objects and vehicles into a filterscript? - vassilis - 16.12.2011

Quote:
Originally Posted by BigETI
Посмотреть сообщение
There is no difference..
Except you want to create something which you can load/unload something In-Game, then a filterscript would be better. (Of course there are more advanced ways how to do it inside a gamemode)

Edit:


includes are text replacements for scripts tbh so there is no difference afaik
you are wrong sir

yes i would suggest you to put them all in filterscripts if you want your gamemode be simple,clean and smoother