package Headshot
{
function ProjectileData::damage(%this, %obj, %col, %fade, %pos, %normal){
%this2=%this;
if(%col.getClassName()$="Player"){
if(getword(%pos,2)>getword(%col.getWorldBoxCenter(),2)-3.3){
%name = %this.GetName();
if(%name$="deagleProjectile"){
%this2=deagleheadshotprojectile;
// %obj.emote(AlarmProjectile);
// %obj.client.play2d(headshotSound);
}
}
}
return Parent::damage(%this2, %obj, %col, %fade, %pos, %normal);
}
};
ActivatePackage(Headshot);
straight from stratofortress' deagle code