void Initialize()
{
//bla bla bla calculate the best target...
vec3_t EnemyVec, VecAngle;
VectorSubtract(EnemyTarget, refdef->Origin, EnemyVec); // You know he does this, EnemyTarget it's the final target [X, Y, Z]
VectoAngles(EnemyVec, VecAngle); // You know he does this.
GetAngleToOrigin(EnemyTarget, End); // You know he does this, End it's a vec3_t as property
}
void ApplypSilent(usercmd_t* oldcmd) // writepacket...
{
oldcmd->viewangles[0] += ANGLE2SHORT(End[0]));
oldcmd->viewangles[1] += ANGLE2SHORT(End[1]));
//oldcmd->viewangles[1] += ANGLE2SHORT(End[2])); // roll forever 0.
}