Im using now Ham_TraceAttack hook, and the first thing I thinked of was checking if attacker see's the victim. I tried two ways via hamsandwich, but it didn't work right or crashed the server. I saw the tutorial about checking visibility, but its too much code to run on every damage event.
So now im thinking of checking it via traceline. Any help ?