Code:
#include <amxmodx>
public plugin_init()
{
register_event("Damage", "eventDamage", "b", "2!0", "3=0", "4!0");
register_event("DeathMsg", "eventDeathMsg", "a", "1>0");
}
public eventDamage(iCl)
{
// iDmg now holds the amount of damage done
new iDmg = read_data(2);
}
public eventDeathMsg()
{
new iHeadShot, szWeap[6];
read_data(3, iHeadShot);
read_data(4, szWeap, 5);
if (iHeadShot)
{
// Head Shot was made
}
if (equal(szWeap, "knife"))
{
// Knife kill was made
}
}
Sorry, but can't help you with bomb.
__________________