How to restart server
#6

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
Reply


Messages In This Thread
How to restart server - by icey--t - 16.02.2009, 11:57
Re: How to restart server - by Dezi - 16.02.2009, 11:59
Re: How to restart server - by SilentMouse - 16.02.2009, 12:03
Re: How to restart server - by icey--t - 16.02.2009, 12:13
Re: How to restart server - by cHaMiLLioNaRe - 16.02.2009, 12:27
Re: How to restart server - by DMSOrg - 17.02.2009, 03:15
Re: How to restart server - by icey--t - 17.02.2009, 04:16
Re: How to restart server - by Mr187 - 17.02.2009, 07:06
Re: How to restart server - by ragu1987 - 01.11.2013, 08:25
Re: How to restart server - by Astralis - 01.11.2013, 08:36
Re: How to restart server - by Konstantinos - 01.11.2013, 09:27

Forum Jump:


Users browsing this thread: 1 Guest(s)