I'm pretty sure you meant "HLTV" for hooking new rounds? I really meant that I'm trying to figure out how to block rounds from starting (i.e stop the round timer).
PHP Code:
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("event_round_start", 2, "1=Round_Start")
register_event("HLTV", "event_new_round", "a", "1=0", "2=0")
}
public plugin_cfg(){
server_cmd("sv_restart 1")
}
public event_new_round(){
log_message("event_new_round")
return PLUGIN_HANDLED
}
public event_round_start(){
log_message("event_round_start")
return PLUGIN_HANDLED
}
The snippet I have doesn't actually do what I want. I'm guessing that register_logevent() can't override events.