Code:
new g_iRound = 0;
public OnPluginStart()
{
HookEvent("round_start", Event_RoundStart);
}
public Action:Event_RoundStart(Handle:hEvent, const String:sName[], bool:bDontBroadcast)
{
g_iRound++;
if(g_iRound == 6)
{
ServerCommand("sm_test");
}
return Plugin_Continue;
}
public OnMapStart()
{
g_iRound = 0;
}
__________________