SA-MP Forums Archive
newbie question. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: newbie question. (/showthread.php?tid=519360)



newbie question. - Gafsi - 14.06.2014

What is better i put all my code in just gamemode or should i use filterscripts?


AW: newbie question. - Saize - 14.06.2014

It depends on what you wanna do with your code, if you want to play on it it has to be a gamemode ^^


Re: newbie question. - Laure - 14.06.2014

I recommend to put them in your gm if you are known to scripting enough as can put it without errors for sure.


Re: newbie question. - Onfroi - 14.06.2014

You can put long repeated codes in filterscripts (ex. Textdraws, Maps, etc..) that way the gamemode will be more organized and you can find stuff easier.


Re: newbie question. - Andreas1331 - 14.06.2014

It's easier to read if you have them categorized a bit. Maybe make a filterscript for the admin instead of having it together with the main gamemode as it tends to get a lot of lines at the end and hard to navigate through.