As i said those don't work for me. However someone already pointed me to the viewangles class and i got that to work.
I can set my pitch and yaw now, but my angles are messed up... ViewX, ViewY and ViewZ worked fine for esp. But i'm not sure which x,y,z coordinates to use with aimbot for both local and other players. OPK is also not what it should be.. Anyone else having these issues aswell?