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 › CF 2D Boxes ESP Source Code ;)

TalkingCF 2D Boxes ESP Source Code ;)

Posts 1–12 of 12 · Page 1 of 1
-iFaDy..*
-iFaDy..*
CF 2D Boxes ESP Source Code ;)
Hey all , i will Release 2D Boxes Source Code ( not mine - Credits other forum )

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 ) );
    }
}
Edit : Credits : s0beit ( i Added just for @~FALLEN~
#1 · edited 14y ago · 14y ago
Skrillex
Skrillex
lol? it works easier
#2 · 14y ago
f3nix
f3nix
Ill be forever lost in this crap -,-
#3 · 14y ago
-iFaDy..*
-iFaDy..*
Quote Originally Posted by Skrillex View Post
lol? it works easier
Lol u Tried it ? /
#4 · 14y ago
Swag
Swag
We have to make the class by ourselves^^
#5 · 14y ago
Skrillex
Skrillex
@-iFaDy..* no but i have the source..
#6 · 14y ago
-iFaDy..*
-iFaDy..*
Quote Originally Posted by Swag View Post
We have to make the class by ourselves^^
^_^
/msg2short
#7 · 14y ago
~F
~FALLEN~
Quote Originally Posted by -iFaDy..* View Post
Hey all , i will Release 2D Boxes Source Code ( not mine - Credits other forum )

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 ) );
    }
}
That's s0beit's code, give credit where credit is due ffs. p.s you need engine functions / classes reversed for this
#8 · 14y ago
CFhackerfree
CFhackerfree
it's even easier ^^
i have a better methode

LOL code is leeched already posted !
http://www.mpgh.net/forum/242-crossf...t-box-esp.html
#9 · edited 14y ago · 14y ago
kmanev073
kmanev073
how to hook this with DIP ?
#10 · 14y ago
-iFaDy..*
-iFaDy..*
Quote Originally Posted by ~FALLEN~ View Post
That's s0beit's code, give credit where credit is due ffs. p.s you need engine functions / classes reversed for this
i Said its not mine and i got it from another site
#11 · 14y ago
DA
darkness99
i use memory way [ Find Pattern ]
#12 · 14y ago
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

  • [SOLVED] External Esp source code editing questionBy Demented420 in Call of Duty Modern Warfare 2 Help
    6Last post 16y ago
  • I want box esp full codeBy s2s2dll in CrossFire Hack Coding / Programming / Source Code
    2Last post 15y ago
  • [Code] perfect box ESPBy rob7601 in CrossFire Hack Coding / Programming / Source Code
    54Last post 16y ago
  • My Source Code from Box Hack GeneratorBy uzinato in CrossFire Hack Coding / Programming / Source Code
    13Last post 15y ago

Tags for this Thread

None