Server Restart problem
#7

Quote:
Originally Posted by funky1234
Посмотреть сообщение
In your gamemode, under OnGameModeInit() - have this:

pawn Код:
public OnGameModeInit()
{
     SendRconCommand("reloadfs {scriptname without .amx}"); // Do this for how ever many scripts you need to reload.
}
hmmm it looks good but if you add a FS to your server you will have to add/remove a line here too...
I will try to make a cmd that reads from the server.cfg file but i dont really konw how to read a single line and remove the Filterscripts at beginning and adding .amx at end tho... but you could too make a single FS that loads all the other scripts, it would be better i think...
Reply


Messages In This Thread
Server Restart problem - by multinfs - 23.11.2010, 18:26
Re: Server Restart problem - by Zh3r0 - 23.11.2010, 18:29
Re: Server Restart problem - by Ash. - 23.11.2010, 18:44
Re: Server Restart problem - by Camacorn - 23.11.2010, 18:52
Re: Server Restart problem - by Ash. - 23.11.2010, 19:10
Re: Server Restart problem - by StreetGT - 23.11.2010, 20:54
Re: Server Restart problem - by multinfs - 24.11.2010, 04:18

Forum Jump:


Users browsing this thread: 1 Guest(s)