Server Restart problem
#3

Quote:
Originally Posted by multinfs
Посмотреть сообщение
I got a problem cuz when i usually add something i need to restart the server but with /rcon gmx it just reloads the gamemode, but i want the whole server and all filterscripts to be reloaded...every time i need to close server and reopen it and i hate it soo much cuz it take so long and all players need to close their SA and join again....that sux, so if someone knows a way to make a filterscript that reloads the gamemode and ALL filterscripts set in the server.cfg then i would be very greatful!so please help!
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.
}
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: 3 Guest(s)