How to restart server -
icey--t - 16.02.2009
hi. i have a windows server running on my home pc and i was wondering when i have compiled my latest .amx file and i want to restart the server to see the changes how do i go about doing this. is it an rcon command
Re: How to restart server -
Dezi - 16.02.2009
/rcon gmx
Re: How to restart server -
SilentMouse - 16.02.2009
Or just type gmx into the console.
Re: How to restart server -
icey--t - 16.02.2009
wow, thanks a ton. what does gmx stand for? game mode eXit??
Re: How to restart server -
cHaMiLLioNaRe - 16.02.2009
Yes! It's just a basic command that restarts your server
Re: How to restart server -
DMSOrg - 17.02.2009
Another way you could do it is by scripting this into your Gamamode:
pawn Code:
if(strcmp(cmd,"/restart",true)==0)
{
if(IsPlayerAdmin = 1)
{
SendRconCommand("gmx");
return 1;
}
else
{
SendClientMessage(playerid,a color,"BAD NOOB! You no restart server! Go sit in corner");
SetPlayerHealth(playerid, 0);
return 1;
}
}
then all you gotta do is type your rcon login command and do /restart
Re: How to restart server -
icey--t - 17.02.2009
no ways. i didnt even know you could send rcon commands. cool. ok i got it. thanks everyone...
Re: How to restart server -
Mr187 - 17.02.2009
well if your in-game make sure you do /rcon login [rcon password] than /rcon gmx but since you using a home server, you got the window on desktop always.
Re: How to restart server -
ragu1987 - 01.11.2013
ya both the cmd and rcon gmx works...
Re: How to restart server - Astralis - 01.11.2013
Quote:
Originally Posted by icey--t
hi. i have a windows server running on my home pc and i was wondering when i have compiled my latest .amx file and i want to restart the server to see the changes how do i go about doing this. is it an rcon command
|
write "gmx" in the window of sampserver.exe and press enter.
Re: How to restart server -
Konstantinos - 01.11.2013
Quote:
Originally Posted by ragu1987
ya both the cmd and rcon gmx works...
|
Quote:
Originally Posted by Neonman
write "gmx" in the window of sampserver.exe and press enter.
|
That thread was created at 16/02/2009, 03:57 PM
I don't think he'd be waiting for 4.5+ years to take an answer that was already given in the past!