SA-MP Forums Archive
Is my script work if server shutdown auto restart ? - 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)
+--- Thread: Is my script work if server shutdown auto restart ? (/showthread.php?tid=379126)



Is my script work if server shutdown auto restart ? - Aloushi - 20.09.2012

Hello guys my server when crash will shut down im script small thing and i want ask you is this work if server (crash,shutdown) auto restart ? it is true ?


pawn Код:
public OnGameModeExit()
{
SendRconCommand("gmx");
return 1;
}



Re: Is my script work if server shutdown auto restart ? - trapstar2020 - 20.09.2012

nope if you shut down the server its shut down
You have to start back up the console

english please


Re: Is my script work if server shutdown auto restart ? - Aloushi - 20.09.2012

Quote:
Originally Posted by trapstar2020
Посмотреть сообщение
nope if you shut down the server its shut down
You have to start back up the console

english please
haha i got bad english i mean i script this

pawn Код:
public OnGameModeExit()
{
SendRconCommand("gmx");
return 1;
}
and i ask if my server crash will shutdown or restart ?


Re: Is my script work if server shutdown auto restart ? - trapstar2020 - 20.09.2012

it would shut down because ongamemodeint is when the console closes


Re: Is my script work if server shutdown auto restart ? - Aloushi - 20.09.2012

Quote:
Originally Posted by trapstar2020
Посмотреть сообщение
it would shut down because ongamemodeint is when the console closes
aha now understand lol