Its sooooo easy!
For aimbot you simply need to convert your 3d position to an angle (pan, tilt, roll | yaw, pitch, roll) and set your viewangles.
A simply math formula:
This is 5 lines of code, now compare this with the c&ped code everywhere seen.
void vec_to_angle(ANGLE *ang, VECTOR *dir)
ang.pan = atan(dir.x/dir.y);
ang.tilt = asin(dir.z/length(dir));
Also for telekill you only set your camera pos to enemy position, Im sure the offset code is detected, I would suggest to use other addresses for that.
Im sure there are 5 more ways to do it