24.07.2010, 20:31
Okay, so, i seen it on a few servers, if the server time is 12:00 it sends a message saying Restart in 5 minutes, and at 12:05 server would restart, how would i do it?
//1000 = 1 sec 10000 = 10 s 60000 = 1m 1440000 = 24m = samptime: 1day
SetTimer("RestartTimer",1440000,1); {
GameTextForAll("Server Restart in 5 minutes",1500,3);
}
SetTimer("GMX",1740000,1); {
SendRconCommand(//command);
} // IT BUGS IT WILL SHUT THE SERVE DOWN IMMEDIATLY