#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
const m_LastHitGroup = 75;
public plugin_init ()
RegisterHam(Ham_TakeDamage, "player", "CBasePlayer_TakeDamage");
public CBasePlayer_TakeDamage(pVictim)
return get_pdata_int(pVictim, m_LastHitGroup) == HIT_HEAD ? : HAM_SUPERCEDE : HAM_IGNORED;