How to automatically load a FS - 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: How to automatically load a FS (
/showthread.php?tid=214474)
How to automatically load a FS -
iiLiamii - 21.01.2011
Hi All,
I have trouble with a license plates filterscript that I have in my server.
I have noticed that when you load it via Rcon, It automatically unloads the FilterScript on a GMX, or server reboot.
How Do I change this, so that the FS Runs all the time?
I hope someone can help :P
Re: How to automatically load a FS -
HyperZ - 21.01.2011
Put it in your main gamemode
Under ongamemodeinit:
pawn Code:
SendRconCommand("reloadfs FSNAME");//Change FSNAME to your fs name.
Re: How to automatically load a FS -
ExeC - 21.01.2011
In server.cfg:
filterscripts filterscriptname
?
Re: How to automatically load a FS -
iiLiamii - 21.01.2011
Quote:
Originally Posted by ExeC
In server.cfg:
filterscripts filterscriptname
?
|
What I meant was, How do I get a filterscript to run automatically instead of having to load it by Rcon.
The other users comment above is what Im after
Re: How to automatically load a FS -
ExeC - 21.01.2011
Quote:
Originally Posted by iiLiamii
What I meant was, How do I get a filterscript to run automatically instead of having to load it by Rcon.
The other users comment above is what Im after
|
Oh, sorry then. I misunderstood.
Re: How to automatically load a FS -
iiLiamii - 21.01.2011
Quote:
Originally Posted by ExeC
Oh, sorry then. I misunderstood.
|
No Problems At all
Thanks for your input though