PHP Code:
public Action OnPlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
new String:classname[64];
GetEventString(event, "weapon", classname, sizeof(classname));
if (StrEqual(classname, "tf_weapon_fireaxe) && weaponID == 214)
{
//Do something
}
}
Don't pay much attention for the weaponID(i already defined it), i just put it here in case it could cause problems.