No clue what you are trying to do, but you take the eye pos from eAttacker, but add the forward direction of self to it. Do you mean this?
And since getRealEye isn't a default function, just help people to understand your code by linking to its parts: https://github.com/kungfooman/cod2_s...utils.gsc#L184PHP Code:
fw = anglestoforward(eAttacker getplayerangles());
For debugging, you can either print the coordinates or just spawn some entities to that position