First, note that "2&#Game_W" is wrong, it's "2&#Game_w"
2nd, "2&#Game_w" covers "2=#Game_will_restart_in", so you don't have to register it.
End, the game reset stuff at new round when there is a restart, so i would rather wait new round, and also increment round count at this time.
PHP Code:
#include <amxmodx>
#define VERSION "0.0.1"
#define PLUGIN ""
new g_iRoundCount = 1
new bool:g_bRestarting
public plugin_init()
{
register_plugin(PLUGIN, VERSION, "ConnorMcLeod")
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_bRestarting = true
}
public Event_HLTV_New_Round()
{
if( g_bRestarting )
{
g_bRestarting = false
g_iRoundCount = 0
}
++g_iRoundCount
}
__________________