Crossfire perfect 2d box esp

Posts 1–14 of 14 · Page 1 of 1
Crossfire perfect 2d box esp
Believe it or not, it took longer to figure out than i thought (at the time)

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

    if( !pPlayer->Object ) 
        return; 

    if( !g_Engine.GetClient() ) 
        return; 

    LTVector vCenter, vFoot, vHead; 

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

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

    //head (top) 
    if( g_Engine.GetClient()->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 ) ); 
    } 
}
Copied off of UC... Add credits to s0beit ( The person who wrote it at UC ), and all the people that originally helped in the making of the source code.. more so, stop copy pasting.
Quote Originally Posted by ~FALLEN~ View Post
Copied off of UC... Add credits to s0beit ( The person who wrote it at UC ), and all the people that originally helped in the making of the source code.. more so, stop copy pasting.
A friend Give me that Sorce lol i dont copy and past Whooo
Quote Originally Posted by BoofiHack View Post
A friend Give me that Sorce lol i dont copy and past Whooo
Well, then your friend copied, and you still didn't credit your friend; therefore still not giving credits. Regardless, you're a leecher.
I agree with cody, you are leecher.
Your a leecher, you barely even understand VB.Net the most basic of all languages

Quote Originally Posted by BoofiHack View Post
Believe it or not, it took longer to figure out than i thought (at the time)
So no, you didn't write that nor figured anything out.

Quote Originally Posted by BoofiHack View Post
void CESP:: Draw2DPlayerBox( CF_Player *pPlayer, DWORD drawColor )
And besides your missing the source and header files to call most of those functions.

Your a leecher so GTFO .
copy and paste from uc
This its more Old than my grandmother.
so its patched?
is this pached?
Quote Originally Posted by BoofiHack View Post
Believe it or not, it took longer to figure out than i thought (at the time)

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

    if( !pPlayer->Object ) 
        return; 

    if( !g_Engine.GetClient() ) 
        return; 

    LTVector vCenter, vFoot, vHead; 

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

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

    //head (top) 
    if( g_Engine.GetClient()->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 ) ); 
    } 
}


You think this is a perfect 2D box code , I made 3D box whit only 1 Pos , Head One , and my code is much simpel to
leecher and virus giver gets ban hammer.
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us