I already told you that any line in plugin_init, after :
register_event("Damage", "on_damage", "b", "2!0", "3=0", "4!0")
is not executed because in the plugin there a no :
public on_damage(id)
{
}
What don't you understand ?
Debugs like this :
PHP Code:
server_print("Registering DeathMsg...")
register_event("DeathMsg", "hook_death", "a", "1>0")
server_print("Registered DeathMsg")
server_print("Registering Damage...")
register_event("Damage", "on_damage", "b", "2!0", "3=0", "4!0")
server_print("Registered Damage")
server_print("Searching for bombsites")
if( find_ent_by_class(-1, "func_bomb_target") || find_ent_by_class(-1, "info_bomb_target") ) //Checks if the map has bombsite
{
g_bHasBombSite = true; //If the map has bombsite it is set to true
server_print("Bombsites FOUND")
}
else
{
server_print("Bombsites NOT FOUND WTF ???!!!!")
}
}
__________________