SA-MP Forums Archive
About my testing server - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: About my testing server (/showthread.php?tid=182640)



About my testing server - yakitashax - 11.10.2010

I was wondering if there weren't any auto player reconnect or a script which would reconnect me automatically after I "close" the server window, and "open" it again. That's cuz I constantly restart my server closing and opening the server window, and that's boring have to re-open the gta window everytime I make something else for GM or FS. So, if anyone knows, please tell me.


Re: About my testing server - [L3th4l] - 11.10.2010

in-game you can do /rcon gmx or /rcon reloadfs


Re: About my testing server - Calgon - 11.10.2010

https://sampforum.blast.hk/showthread.php?tid=178575


Re: About my testing server - yakitashax - 11.10.2010

Calgon, I didn't get that =s. L3th4l, is there some way to make this rcon gmx faster?


Re: About my testing server - Calgon - 11.10.2010

Sorry, just read the first line of your post.

Try GMXing or ending the process (though OnGameModeExit fails to call I think). And no, there's no way to make the server GMX any faster.


Re: About my testing server - Lenny the Cup - 11.10.2010

I've never tried it, but if you're desperate you can try this:
pawn Код:
stock QuickRestart()
{
    foreach(Player, i)
        OnPlayerDisconnect(i);
    OnGameModeExit();
    OnGameModeInit();
    foreach(Player, i)
        OnPlayerConnect(i);
}
Note that this won't restart your server, reload any filterscripts or gamemodes.

You can reload filterscripts with rcon command: reloadfs <name>