change
Code:
if ( ! find_ent_by_class ( -1, "func_bomb_target" ) )
{
return PLUGIN_HANDLED
}
else
{
register_logevent ( "fn_triggerplanted" , 3, "1=triggered", "2=Planted_The_Bomb" )
register_logevent ( "fn_triggerroundstart" , 2, "1=Round_Start" )
register_forward ( FM_EmitSound, "fn_soundcheck" )
}
return PLUGIN_CONTINUE
}
to
Code:
if ( find_ent_by_class ( -1, "func_bomb_target" ) )
{
register_logevent ( "fn_triggerplanted" , 3, "1=triggered", "2=Planted_The_Bomb" )
register_logevent ( "fn_triggerroundstart" , 2, "1=Round_Start" )
register_forward ( FM_EmitSound, "fn_soundcheck" )
}
}
You don't need to have any returns in plugin_init() and returning PLUGIN_HANDLED does nothing in plugin init. it would do the same as PLUGIN_CONTINUE
Change that and I will approve.