[Code] perfect box ESP

Posts 1–15 of 55 · Page 1 of 4
[Code] perfect box ESP
this is my code took me longer then i thought to make so no leeching >.<


Code:
void CESP::Draw2DPlayerBox( CF_Player *pPlayer, DWORD drawColor ) 
{ 
    if( !pPlayer ) 
        return; 

    if( !pPlayer->Object ) 
        return; 

    if( !g_Engine.Ge***ient() ) 
        return; 

    LTVector vCenter, vFoot, vHead; 

    //this is the centered position 
    if( g_Engine.Ge***ient()->GetObjectPos( pPlayer->Object, &vCenter ) != LT_OK ) 
        return; 

    //foot (bottom) 
    if( g_Engine.Ge***ient()->GetObjectBoxMin( pPlayer->Object, vFoot ) != LT_OK ) 
        return; 

    //head (top) 
    if( g_Engine.Ge***ient()->GetObjectBoxMax( pPlayer->Object, vHead ) != LT_OK ) 
        return; 

    //center the positions for 2d boxes 
    vFoot.x = vCenter.x; 
    vFoot.z = vCenter.z; 
    vHead.x = vCenter.x; 
    vHead.z = vCenter.z; 

    LTVector vPlayerFootScreen, vPlayerHeadScreen; 

    if( g_Engine.LTWorldToScreen( vFoot, vPlayerFootScreen ) && g_Engine.LTWorldToScreen( vHead, vPlayerHeadScreen ) ) 
    { 
        float w = ( vPlayerFootScreen.y - vPlayerHeadScreen.y ) / 4; 

        g_Engine.OutlineRGBA( vPlayerHeadScreen.x - w, vPlayerHeadScreen.y, w * 2, ( vPlayerFootScreen.y - vPlayerHeadScreen.y ), 1.0f, 
            RED( drawColor ), GREEN( drawColor ), BLUE( drawColor ), ALPHA( drawColor ) ); 
    } 
}
Noobs will probably copy paste. =))
mpgh blocks some of the code out =((((
Happy face

Nah nice post mate.
lol to fix the mpgh blocking sht out select code in the advanced post box
for example
Code:
insert code here :P
use [code] and also [code] at end but with a / between [ and c

and also php code? wdf i didn't think php was used for hacks.....
Quote Originally Posted by DarkSoul1994 View Post
lol to fix the mpgh blocking sht out select code in the advanced post box
for example
Code:
insert code here :P
use [code] and also [code] at end but with a / between [ and c

and also php code? wdf i didn't think php was used for hacks.....
i was going to do [php] thing so it didn't block it but i was baked yesterday so i didn't know what i was doing sorry lol
so what will this do we already got boxes from the pub hack how can u make it more perfect than that
The stars are G C L

Get
Client
Quote Originally Posted by Spookerzz View Post
The stars are G C L

Get
Client
thank you for putting that up for everybody xD
nice job rob what happend to your old project rez deleter ?
Quote Originally Posted by Hahne View Post
nice job rob what happend to your old project rez deleter ?
i heard that deleting rez files dident work anymore so i stoped making 2.0 it had a auto delete when the game started and tons of features =} but i guess its not of use because deleting doesn't work anymore =(
Again Congrats Hahne xD
Does this work
Thanks for the code,
Will this work on Win7?
also can some 1 post here a allready compiled DLL of this hack?
cuz im having problems on installing Microsoft C++ Studios...
so you are saying that you have a hack that works for 8 games.. and yet can't read forum rules?
Posts 1–15 of 55 · Page 1 of 4
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us