unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > First-Person Shooters > Combat Arms

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2010, 03:30 AM
disco disco is offline
Administrator
 
Join Date: Feb 2010
Posts: 271
Default Engine WorldToScreen

Posted by _GHOSTER_.




For those of you who don't wanna import the d3d functions...for w/e reason.

Code:
bool ESP::WorldToScreen( Vector Pos, Vector *Screen )
{
    float x = Pos.x;
    float y = Pos.y;
    float z = Pos.z;

    Vector Unk;

    _asm
    {
        lea  eax, Unk
        push eax
        push Screen
        push z
        push y
        push x
        mov eax, 0x48ED60
        call eax
    }

    return (Screen->z < 1.0f);
}
Enjoy or don't
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
engine, worldtoscreen

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 06:50 AM.