Player Box Code

Posts 1–15 of 22 · Page 1 of 2
Player Box Code


void CESP:raw2DPlayerBox( 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 ) );
}
}

im gonna try this with my bypass i made , if you want my bypass go on the main crossfire hack page and its called xtrap bypass working as of the 15 june 2010
nice guy , but can you write it without the smileys and without the "***" ???
Code:
void CESP:raw2DPlayerBox( 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 ) ); 
} 
}
that
Code:
:D
is from the code because if it is will be like this
Code:
void CESP::Draw2DPlayerBox
with 2x:
what about the ****??
I think it's Get**ient .... BUT WHAT ?...
Quote Originally Posted by zzeerrttyy28 View Post
I think it's Get**ient .... BUT WHAT ?...
it's - GetClient
Working?

I have no visual on this computer sow cant test.
how about people who can actually code post thses instead of leeches who have no idea wht it means
sry for beeing noob, but has someone made a dll with this code/can someone poste the dll(or whatever)??

sry--->bad english
Lol You want a hack faster,that`s it. Learn to make your own hack
Quote Originally Posted by 'Shinistro View Post
Lol You want a hack faster,that`s it. Learn to make your own hack
Is missing very important addresses.
TY MAN!!!I'LL Have Fun
Quote Originally Posted by mark0108 View Post
TY MAN!!!I'LL Have Fun
gay sign n00b
btw is it ur mam picture
Quote Originally Posted by mark0108 View Post
TY MAN!!!I'LL Have Fun
Ugh super big signature.
Get it shortened before a moderator or minion sees it./
Posts 1–15 of 22 · Page 1 of 2
This thread is closed for replies.

Tags for this Thread

None

Talk with us