02.12.2010, 23:11
(
Последний раз редактировалось Rokzlive; 27.03.2011 в 22:04.
)
EDIT!
This is very old and i made it when i was first learning to script!
__________________________________________________ ___________________________________________
Ok, i made this in a few mins! Its very simple!
You login to RCON and then say the command /restart.
It will announce to everyone "Admin: Server restarting in 10 minutes!" and will change the hostname to "Your Server Name [Pending Restart]"
After 10 minutes it will announce "Admin: SERVER RESTARTING!" and the server will restart!
After the restart you will see that the hostname has reset to normal!
http://pastebin.com/hMviyGLA
Enjoy!
Original post on my forums: http://forum.rokzlive.com/index.php?...o-restarter.7/
This is very old and i made it when i was first learning to script!
__________________________________________________ ___________________________________________
Ok, i made this in a few mins! Its very simple!
You login to RCON and then say the command /restart.
It will announce to everyone "Admin: Server restarting in 10 minutes!" and will change the hostname to "Your Server Name [Pending Restart]"
After 10 minutes it will announce "Admin: SERVER RESTARTING!" and the server will restart!
After the restart you will see that the hostname has reset to normal!
http://pastebin.com/hMviyGLA
Enjoy!
Original post on my forums: http://forum.rokzlive.com/index.php?...o-restarter.7/