FS doesnt load
#1

Well my filterscripts wont load everytime i open up the console it says loaded 0 filterscripts
Reply
#2

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]
Reply
#3

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
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)