Load filterscript on Gamemode restart
#1

I have this problem:
When I do /rcon gmx, my gm restarts, but some filterscripts, after the restarting, don't work correctly (also if I do /rcon loadfs name).
Is there a command that allows you to restart the server along with all the other filterscripts?
Reply
#2

Just go to your server.cfg and add the filterscript into the filterscripts line.
Reply
#3

Quote:
Originally Posted by aoky
Посмотреть сообщение
Just go to your server.cfg and add the filterscript into the filterscripts line.
But they just are added in the filterscripts line!
Reply
#4

GMX restarts the gamemode. I would actually recommend using /rcon exit then restarting the server.

However, if you want to restart the filterscript, under OnGameModeInit add SendRconCommand("reloadfs fsname");
Reply
#5

Is there a command, like /gmx, that restarts the GM together all filterscripts?
I found this thread talking about it: https://sampforum.blast.hk/showthread.php?tid=154079
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)