PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
const m_LastHitGroup = 75;
public hs(id, const Victim)
{
if(headshot_active[id] == 1)
{
return headshot_active[Victim] && get_pdata_int(Victim, m_LastHitGroup) == HIT_HEAD ? : HAM_SUPERCEDE : HAM_IGNORED;
}
}
I tried to put it together, but I didn't manage to.