FS doesnt load - 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)
+--- Thread: FS doesnt load (
/showthread.php?tid=408656)
FS doesnt load -
REVO-RP - 19.01.2013
Well my filterscripts wont load everytime i open up the console it says loaded 0 filterscripts
Re: FS doesnt load -
Chenko - 19.01.2013
I'm going to guess you forgot to put the filterscripts into the config file. If so open up server.cfg in your server directory and put the names of all your filterscripts onto the proper line.
Ex:
Код HTML:
lanmode 0
rcon_password
maxplayers 500
port 7777
hostname
gamemode0 blank 1
filterscripts MyFilterscript MyOtherFilterscript //Put the names here with a space inbetween each one
announce 0
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 10
plugins
logtimeformat [%H:%M:%S]
Re: FS doesnt load -
REVO-RP - 19.01.2013
Quote:
Originally Posted by Chenko
I'm going to guess you forgot to put the filterscripts into the config file. If so open up server.cfg in your server directory and put the names of all your filterscripts onto the proper line.
Ex:
Код HTML:
lanmode 0
rcon_password
maxplayers 500
port 7777
hostname
gamemode0 blank 1
filterscripts MyFilterscript MyOtherFilterscript //Put the names here with a space inbetween each one
announce 0
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 10
plugins
logtimeformat [%H:%M:%S]
|
Works now thanks alot man
Re: FS doesnt load -
gnoomen2 - 19.01.2013
You can also log in to rcon with your rcon password from the server.cfg use /rcon login PASSWORD
Then you can do /rcon reloadfs FS-NAME
/rcon loadfs FS-NAME
/rcon unloadfs FS-NAME
All you need is a .amx file from the FS you want to load to be in the filterscripts folder.
You can also load a FS with the GM by opening the GM and going to OnGameModeInit ( or OnFilterScriptInit )
And add
pawn Код:
SendRconCommand("reloadfs FS-NAME");
And it will load into the GM.