You can try this, it works almost perfectly for when the round restarts:
Code:
register_event("RoundTime", "new_round", "bc")
public new_round() {
if ( floatround(get_cvar_float("mp_roundtime") * 60.0) != read_data(1) ) return PLUGIN_CONTINUE
//Put the code you want to happen at a new round
}
But that's for a new round. It seems like you want to call an event every time a person dies, respawn them and protect them for a certain amount of time, if this is the case then you should use
Code:
register_event("DeathMsg","Function", "a")
__________________