Server restart command in a loop
#6

Quote:
Originally Posted by UltraScripter
Посмотреть сообщение
every samp server allready have restart command
login as admin
and type /rcon gmx
/rcon gmx will restart you'r Server ! .
Which I do not recommend using for obvious reasons.
https://sampforum.blast.hk/showthread.php?tid=250121

Unless you use:
http://forum.sa-mp.com/showthread.ph...07#post1176007

The best way to restart a server is by kicking all the players before sending the rcon command just as you did in the example code.

There are quite a few mistakes in your script.
  1. You are nowhere assigning a value to "RestartTime"
  2. You are formatting a message where it says that the Restart time will be around 30 seconds and yet, you are decreasing it by a minute in the Timer function.
Reply


Messages In This Thread
Server restart command in a loop - by Jhony_Blaze - 21.11.2014, 15:50
Re: Server restart command in a loop - by Jhony_Blaze - 21.11.2014, 17:12
Re: Server restart command in a loop - by UltraScripter - 21.11.2014, 17:18
Re: Server restart command in a loop - by Jhony_Blaze - 21.11.2014, 17:20
Re: Server restart command in a loop - by UltraScripter - 21.11.2014, 17:28
Re: Server restart command in a loop - by AndySedeyn - 21.11.2014, 18:40

Forum Jump:


Users browsing this thread: 2 Guest(s)