This is how you should do :
PHP Code:
#include < amxmodx >
new g_iRoundCount = 1;
new bool:g_bIsRestarting;
public plugin_init()
{
register_event("TextMsg", "Event_TextMsg_Restart", "a", "2&#Game_C", "2&#Game_w");
register_event("HLTV", "Event_HLTV_New_Round", "a", "1=0", "2=0");
}
public Event_TextMsg_Restart()
{
g_bIsRestarting = true;
}
public Event_HLTV_New_Round()
{
if( g_bIsRestarting )
{
g_bIsRestarting = false;
g_iRoundCount = 1;
}
else
{
++g_iRoundCount;
}
}
__________________