SA-MP Forums Archive
Is This Possible? I Really Hope So! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is This Possible? I Really Hope So! (/showthread.php?tid=73546)



Is This Possible? I Really Hope So! - notec100 - 16.04.2009

I use different Filterscripts for different Gamemodes and I cannot always be at my PC to load them manually when the Gamemode changes, and you can only use 1 server.cfg so is it possible to avoid using the Filterscripts line in the server.cfg and use a code that executes automatically within the Gamemode when the Gamemode starts up that would automatically load all of the Filterscripts that are needed for the different Gamemodes? Thanks in advance as this would really take a lot of stress off my shoulders!


Re: Is This Possible? I Really Hope So! - Backwardsman97 - 16.04.2009

Yes. SendRconCommand You can tell the gamemode to load your FS's. Alternatively, you can change the server.cfg at runtime anyway.


Re: Is This Possible? I Really Hope So! - notec100 - 16.04.2009

Quote:
Originally Posted by backwardsman97
Yes. SendRconCommand You can tell the gamemode to load your FS's. Alternatively, you can change the server.cfg at runtime anyway.
Cool thanks a lot I will give it a shot I had a feeling it was possible because I could have swore I had seen it in a script before but I could never find it again.. Maybe I was just dreaming lol thanks tho!


Re: Is This Possible? I Really Hope So! - Nubotron - 16.04.2009

exec <filename>