sorry for the late response, but there you go:
PHP Code:
#include <sourcemod>
#pragma semicolon 1
#pragma newdecls required
public void OnPluginStart()
{
RegAdminCmd("sm_live", Cmd_Live, ADMFLAG_GENERIC, "Live Counter");
}
public Action Cmd_Live(int client, int args)
{
CreateTimer(1.0, Timer_1);
CreateTimer(3.0, Timer_2);
CreateTimer(5.0, Timer_3);
CreateTimer(7.0, Timer_4);
}
public Action Timer_1(Handle Timer)
{
PrintToChatAll("LIVE after 3 Restarts");
ServerCommand("mp_restartgame 1");
}
public Action Timer_2(Handle Timer)
{
ServerCommand("mp_restartgame 1");
}
public Action Timer_3(Handle Timer)
{
ServerCommand("mp_restartgame 1");
}
public Action Timer_4(Handle Timer)
{
PrintToChatAll("LIVE");
PrintToChatAll("LIVE");
PrintToChatAll("LIVE");
}
compile it on
https://www.sourcemod.net/compiler.php
or here:
https://spider.limetech.io
if the seconds does not match, edit CreateTimer(
1.0, Timer_1); in 2.0 or 3.0.. but don't forget to edit also Timer_2/ Timer_3 and Timer_4.