SA-MP Forums Archive
Making a Gamemode as Filterscript? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Making a Gamemode as Filterscript? (/showthread.php?tid=304265)



Making a Gamemode as Filterscript? - Face9000 - 17.12.2011

Hello guys,today i was scripting and as u know,you need to restart the server everytime to see the change you made.

Then my brain said: "And..if i make this gamemode as filterscript?I dont need to restart everytime the server,just reloading the filterscript!"

What you think about this?Is a good idea or not?


Re: Making a Gamemode as Filterscript? - Kaperstone - 17.12.2011

i say its not a good idea,you still need to restart the server


Re: Making a Gamemode as Filterscript? - Steven82 - 17.12.2011

Just spend the time to restart the server..


Re: Making a Gamemode as Filterscript? - Ash. - 17.12.2011

Even if you did make it as a filterscript, you'd still need to reset all the player data (manually), save it and reload it. Aswell as respawning the player to get the data correctly initialised again (depending on how you set it up).


Re: Making a Gamemode as Filterscript? - Fool - 17.12.2011

you will spend a lot of time, and I suppose this is had to do...


Re: Making a Gamemode as Filterscript? - Face9000 - 17.12.2011

But reloading the FS isn't like restarting the server?


Re: Making a Gamemode as Filterscript? - Ash. - 17.12.2011

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
But reloading the FS isn't like restarting the server?
You'd rather make yourself a hell of a mess to reset and have to respawn the players (causing them inconvinience anyway) rather than just waiting 5 seconds?


Re: Making a Gamemode as Filterscript? - rooney12 - 17.12.2011

lol. Good idea!


Re: Making a Gamemode as Filterscript? - Hiddos - 17.12.2011

Like said in this topic, it takes more time to put everything in a filterscript than waiting for the 12 second reboot.

Plus, the gamemode script is called the 'game mode' for a reason, it's the main part. Filterscripts are used to do special things, like anti cheat for example. Or old-fashion streamers.


Re: Making a Gamemode as Filterscript? - Astralis - 17.12.2011

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
But reloading the FS isn't like restarting the server?
Just use gm. Even if it takes a time, restart it,dont be lazy,its better,for me atleast.