Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › CrossFire Hacks & Cheats › CrossFire Hack Coding / Programming / Source Code › [Code] perfect box ESP

[Code] perfect box ESP

Posts 1–15 of 55 · Page 1 of 4
rob7601
rob7601
[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 ) ); 
    } 
}
#1 · edited 16y ago · 16y ago
RI
Ritzyl
Noobs will probably copy paste. =))
#2 · 16y ago
rob7601
rob7601
mpgh blocks some of the code out =((((
#3 · 16y ago
Sals
Sals
Happy face

Nah nice post mate.
#4 · 16y ago
DarkSoul1994
DarkSoul1994
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.....
#5 · edited 16y ago · 16y ago
rob7601
rob7601
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
#6 · 16y ago
Evan
Evan
so what will this do we already got boxes from the pub hack how can u make it more perfect than that
#7 · 16y ago
Spookerzz
Spookerzz
The stars are G C L

Get
Client
#8 · 16y ago
rob7601
rob7601
Quote Originally Posted by Godlike View Post
The stars are G C L

Get
Client
thank you for putting that up for everybody xD
#9 · 16y ago
Hahne
Hahne
nice job rob what happend to your old project rez deleter ?
#10 · 16y ago
Sals
Sals
Again Congrats Hahne xD
#11 · 16y ago
skulhead
skulhead
Does this work
#12 · 16y ago
NO
noamke
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...
#13 · 16y ago
rob7601
rob7601
Quote Originally Posted by Hahne123 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 =(
#14 · 16y ago
JP
jp54305
so you are saying that you have a hack that works for 8 games.. and yet can't read forum rules?
#15 · 16y ago
Posts 1–15 of 55 · Page 1 of 4

Post a Reply

Similar Threads

  • I want box esp full codeBy s2s2dll in CrossFire Hack Coding / Programming / Source Code
    2Last post 15y ago
  • did someone have an esp (name esp and box esp) for 1.0.174???By killstreak in Call of Duty Modern Warfare 2 Help
    0Last post 16y ago
  • .177 Box ESP & Name ESPBy big_will in Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    134Last post 16y ago
  • I need box ESP or name ESP hackBy maximkap1 in Call of Duty Modern Warfare 2 Help
    5Last post 16y ago
  • .180 Box ESP & Name ESPBy wojfi in Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    4Last post 16y ago

Tags for this Thread

None