SA-MP Forums Archive
FS or GM? - 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: FS or GM? (/showthread.php?tid=535886)



FS or GM? - PMH - 06.09.2014

Which is better?
I use a blank gamemode, and script all features into one FS. So that I don't have to restart server, but I heard somewhere that scripts in gamemode works faster than script in Filterscript
is it true? and what is efficient ? Gamemode or Filterscript?


Re: FS or GM? - Abagail - 06.09.2014

Well, - why would you use filterscripts? I mean if you optimize your script well enough restarts aren't really nessacary, as long as you can easily reload everything while in-game(assuming your not adding new commands, etc).


Re: FS or GM? - Sledgehammer - 06.09.2014

Gamemode is more efficient.


Re: FS or GM? - Lordzy - 06.09.2014

If you're using the functions like GetTickCount, you will have to restart your server completely once in 23-24 days. If I'm not wrong, everything which is to be called are firstly getting called on your gamemode. If so, the important things are better to be implemented within the gamemode.

@Abagail - Restarts are necessary once in 2-3 days.


Re: FS or GM? - Vince - 06.09.2014

IIRC, filterscripts take priority. To my inconvenience, my command /t for teamchat in the gamemode is overriden by the command /t for time when fsdebug is enabled.


Re: FS or GM? - Classical - 23.09.2014

Quote:
Originally Posted by Death1300
Посмотреть сообщение
Gamemode is more efficient.
Yup. So long as the code is optimized.


Re: FS or GM? - KayJ - 23.09.2014

gamemode is good to choose