Hey guys, kolbybrooks posted a very nice improvement on uc for a better WorldToScreen.
Basically it means the ESP works with Predator Missile - and a little better overall.
Here is how to add it on version 4.3:
First add this at line 895:
Then, replace the WorldToScreen function (lines 765-783) with this:
Last add this at line 225:
bool WorldToScreen(const Vector &WorldLocation, float *fScreenX, float *fScreenY)
Vector Position = WorldLocation - mypos;
// get our dot products from viewAxis
Transform.x = Position.dotproduct(viewAxis);
Transform.y = Position.dotproduct(viewAxis);
Transform.z = Position.dotproduct(viewAxis);
// make sure it is in front of us
if (Transform.z < 0.1f)
*fScreenX = screencenter * (1 - (Transform.x / fov / Transform.z));
*fScreenY = screencenter * (1 - (Transform.y / fov / Transform.z));
Full credits go to kolbybrooks.