About my testing server
#1

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

in-game you can do /rcon gmx or /rcon reloadfs
Reply
#3

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

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)