RestartManager: changes messages
This commit is contained in:
parent
611b95c505
commit
6e9b291ac2
@ -46,7 +46,7 @@ public void OnPluginStart()
|
||||
RegServerCmd("changelevel", BlockMapSwitch);
|
||||
|
||||
CreateTimer(60.0, CheckForRestart, _, TIMER_REPEAT);
|
||||
CreateTimer(20.0, ForceRestartMessage, _, TIMER_REPEAT);
|
||||
CreateTimer(60.0, ForceRestartMessage, _, TIMER_REPEAT);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
@ -108,7 +108,7 @@ public Action Command_Uptime(int client, int args)
|
||||
if (g_bRestart)
|
||||
ReplyToCommand(client, "[SM] Server is going to restart on next mapswitch");
|
||||
else
|
||||
ReplyToCommand(client, "[SM] Time until next force-restart: %.2fh", ((g_cvarMaxUptime.FloatValue * 3600.0) - GetEngineTime()) / 3600.0);
|
||||
ReplyToCommand(client, "[SM] Time until next force-restart: %.2fh.", ((g_cvarMaxUptime.FloatValue * 3600.0) - GetEngineTime()) / 3600.0);
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user