diff --git a/RestartManager/scripting/RestartManager.sp b/RestartManager/scripting/RestartManager.sp index b2501a20..b433f8ad 100644 --- a/RestartManager/scripting/RestartManager.sp +++ b/RestartManager/scripting/RestartManager.sp @@ -62,6 +62,15 @@ public void OnConfigsExecuted() //---------------------------------------------------------------------------------------------------- public Action Command_ForceRestart(int client, int args) { + if(client == 0) + { + char sMap[64]; + GetCurrentMap(sMap, sizeof(sMap)); + + PrepareRestart(sMap, client, true); + return Plugin_Handled; + } + ReplyToCommand(client, "[SM] Confirm the force-restart please!"); OpenAdminPanel(client);