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 › Combat Arms Hacks & Cheats › Combat Arms Hack Coding / Programming / Source Code › [Release]Tabbed Menu!

[Release]Tabbed Menu!

Posts 1–15 of 20 · Page 1 of 2
MA
mastermods
[Release]Tabbed Menu!
Hey everyone. I made this Menu with a little help from my friend maudesrule It's a simple way to make Menu Tabs!

Hey noobs out there! Hahaha, noob proof!

Anyway, onto the code! (Oh, and this is keyboards.)

Put these in your declarations:
[PHP]int MenuTab, MenuMax, MenuSelection;

struct Menu
{
int MenuX;
int MenuY;
int MenuW;
int MenuH;

};
Menu Menu1;

struct Tab
{
int TabX;
int TabY;
int TabH;
int TabW;
int TabNum;

};
Tab Tabs[5];[/PHP]

Here are the functions you will need:
[PHP]-void- Draw-MyText(char pStrin g[], int x, int y, D3DCOLOR col, ID3DXFont *font)
{
RECT FontRect = { x, y, x+500, y+30 };
font->DrawText( NULL, pString, -1, &FontRect, DT_LEFT | DT_WORDBREAK, col);
} //Credits to maudesrule.[/PHP]
[PHP]maybe-void IntalizeMenu( int X, int Y, int W, int H)
{
Menu1.MenX = X;
Menu1.MenuY = Y;
Menu1.MenuW = W + Menu1.MenuX;
Menu1.MenuH = H + Menu1.MenuY;
}[/PHP]
[PHP]void IntalizeTab( int Num, int X, int Y, int W, int H )
{
Tabs[Num].TabX = X + Menu1.MenuX;
Tabs[Num].TabY = Y + Menu1.MenuY;
Tabs[Nu].TabW = W;
Tabs[Num].TabH = H;

}[/PHP]
[PHP]void DrawBox( IDirect3DDevice9 *pD3Ddev, int X, int Y, int W, int H, D3DCOLOR Color )
{
D3DRECT Rect = { X, Y, X + W, Y + H };
pD3Ddev->Clear( 1, &Rect, D3DCLEAR_TARGET, Color, 0, 0);

}[/PHP]
[PHP]void DrawTab( IDirect3DDevice9 *pD3Ddev, int TabNum, D3DCOLOR Color )
{
DrawBox( pD3Ddev, Tabs[TabNum].TabX, Tabs[TabNum].TabY, Tabs[TabNum].TabW, Tabs[TabNum].TabH, Color);
}[/PHP]
[PHP]void DrawMenu( IDirect3DDevice9 *pD3Ddev, D3DCOLOR ColFront, D3DCOLOR ColBack )
{
DrawBox(pD3Ddev, Menu1.MenuX - 5, Menu1.MenuY - 5, Menu1.MenuW + 10, Menu1.MenuH + 10, ColBack);
DrawBox(pD3Ddev, Menu1.MenuX, Menu1.MenuY, Menu1.MenuW, Menu1.MenuH, ColFront);

} [/PHP]

This will go in the in the Initialize I believe. //Credits to maudesrule.
[PHP]IntalizeMenu( 15, 150, 197, 10 );

IntalizeTab( 1, 5, 5, 50, 25);
IntalizeTab( 2, 56, 5, 50, 25);
IntalizeTab( 3, 107, 5, 50, 25);
IntalizeTab( 4, 158, 5, 50, 25);
TextXoff = Menu1.MenuX + 2;[/PHP]

Now of course drawing the menu! (Present/EndScene.)
[PHP]
DrawMenu( m_pD3Ddev, ColMenuFront, ColMenuBack );

DrawTab(m_pD3Ddev, 1, ColMenuBack);
DrawTab(m_pD3Ddev, 2, ColMenuBack);
DrawTab(m_pD3Ddev, 3, ColMenuBack);
DrawTab(m_pD3Ddev, 4, ColMenuBack);

if( GetAsyncKeyState( VK_UP ) & 1 )
{

MenuSelection--;
if(MenuSelection < 0)
MenuSelection = MenuMax;

}
if( GetAsyncKeyState( VK_DOWN ) & 1 )
{

MenuSelection++;
if(MenuSelection > MenuMax)
MenuSelection = 0;

}


switch( MenuTab )
{

case 0:
MenuMax = 2;

if( GetAsyncKeyState( VK_RIGHT ) & 1 )
{
switch( MenuSelection )
{
case 0:
MenuTab++;
if(MenuTab > 3)
MenuTab = 0;
break;

case 1:
hack1 = true;
break;

case 2:
hack2 = true;
break;

default:
break;
}
}

if( GetAsyncKeyState( VK_LEFT ) & 1 )
{
switch( MenuSelection )
{
case 0:
MenuTab--;
if(MenuTab < 0)
MenuTab = 3;
break;

case 1:
hack1 = false;
break;

case 2:
hack2 = false;
break;

default:
break;
}
}

if (hack1){
DrawMyText( "hack 1 on", TextXoff, Menu1.MenuY + 50, ColGreen, Font3 );
if(MenuSelection==1)
DrawMyText( "hack 1 on", TextXoff, Menu1.MenuY + 50, ColWhite, Font3 );

}else{
DrawMyText( "hack 1 off", TextXoff, Menu1.MenuY + 50, ColBlack, Font3 );
if(MenuSelection==1)
DrawMyText( "hack 1 off", TextXoff, Menu1.MenuY + 50, ColWhite, Font3 );

}

if (hack2){
DrawMyText( "hack 2 on", TextXoff, Menu1.MenuY + 65, ColGreen, Font3 );
if(MenuSelection==2)
DrawMyText( "hack 2 on", TextXoff, Menu1.MenuY + 65, ColWhite, Font3 );

}else{
DrawMyText( "hack 2 off", TextXoff, Menu1.MenuY + 65, ColBlack, Font3 );
if(MenuSelection==2)
DrawMyText( "hack 2 off", TextXoff, Menu1.MenuY + 65, ColWhite, Font3 );

}

break;

case 1:

MenuMax = 0;

if( GetAsyncKeyState( VK_RIGHT ) & 1 )
{
switch( MenuSelection )
{
case 0:
MenuTab++;
if(MenuTab > 3)
MenuTab = 0;
break;

default:
break;
}
}

if( GetAsyncKeyState( VK_LEFT ) & 1 )
{
switch( MenuSelection )
{
case 0:
MenuTab--;
if(MenuTab < 0)
MenuTab = 3;
break;

default:
break;
}
}

break;

case 2:

MenuMax = 0;

if( GetAsyncKeyState( VK_RIGHT ) & 1 )
{
switch( MenuSelection )
{
case 0:
MenuTab++;
if(MenuTab > 3)
MenuTab = 0;
break;

default:
break;
}
}

if( GetAsyncKeyState( VK_LEFT ) & 1 )
{
switch( MenuSelection )
{
case 0:
MenuTab--;
if(MenuTab < 0)
MenuTab = 3;
break;

default:
break;
}
}

break;

case 3:

MenuMax = 0;

if( GetAsyncKeyState( VK_RIGHT ) & 1 )
{
switch( MenuSelection )
{
case 0:
MenuTab++;
if(MenuTab > 3)
MenuTab = 0;
break;

default:
break;
}
}

if( GetAsyncKeyState( VK_LEFT ) & 1 )
{
switch( MenuSelection )
{
case 0:
MenuTab--;
if(MenuTab < 0)
MenuTab = 3;
break;

default:
break;
}
}

break;


default:
break;

}

if (MenuTab==0 && MenuSelection == 0){
DrawMyText( "Tab", Menu1.MenuX + 6, Menu1.MenuY + 10, ColBlack, Font3 );
}
else if (MenuTab==0){
DrawMyText( "Tab", Menu1.MenuX + 6, Menu1.MenuY + 10, ColGreen, Font3 );
}else{
DrawMyText( "Tab", Menu1.MenuX + 6, Menu1.MenuY + 10, ColWhite, Font3 );
}

if (MenuTab==1 && MenuSelection == 0){
DrawMyText( "Tab2", Menu1.MenuX + 57, Menu1.MenuY + 10, ColBlack, Font3 );
}
else if (MenuTab==1){
DrawMyText( "Tab2", Menu1.MenuX + 57, Menu1.MenuY + 10, ColGreen, Font3 );
}else{
DrawMyText( "Tab2", Menu1.MenuX + 57, Menu1.MenuY + 10, ColWhite, Font3 );
}

if (MenuTab==2 && MenuSelection == 0){
DrawMyText( "Tab3", Menu1.MenuX + 108, Menu1.MenuY + 10, ColBlack, Font3 );
}
else if (MenuTab==2){
DrawMyText( "Tab3", Menu1.MenuX + 108, Menu1.MenuY + 10, ColGreen, Font3 );
}else{
DrawMyText( "Tab3", Menu1.MenuX + 108, Menu1.MenuY + 10, ColWhite, Font3 );
}

if (MenuTab==3 && MenuSelection == 0){
DrawMyText( "Tab4", Menu1.MenuX + 159, Menu1.MenuY + 10, ColBlack, Font3 );
}
else if (MenuTab==3){
DrawMyText( "Tab4", Menu1.MenuX + 159, Menu1.MenuY + 10, ColGreen, Font3 );
}else{
DrawMyText( "Tab4", Menu1.MenuX + 159, Menu1.MenuY + 10, ColWhite, Font3 );
}



} [/PHP]
#1 · 16y ago
whatup777
whatup777
I feel like ive seen this before.

Googled nigga. C+Ped like hell.


Close and Ban.
#2 · 16y ago
CO
CodeDemon
Hey everyone. I made this Menu with a little help from my friend maudesrule It's a simple way to make Menu Tabs!

Hey noobs out there! Hahaha, noob proof!

Anyway, onto the code! (Oh, and this is keyboards.)
This is leeched from UC....
#3 · 16y ago
MA
mastermods
Lol. Used some stuff from a website. But I can't tell cause I don't want to get banned.
#4 · 16y ago
flashlight95
flashlight95
C+Ped, I just googled one line of that code and found the source.
#5 · 16y ago
CO
CodeDemon
/me tabs are better. Give credz nao!!!!
#6 · 16y ago
whatup777
whatup777
Quote Originally Posted by CodeDemon View Post
/me tabs are better. Give credz nao!!!!
Are they seals?/
#7 · 16y ago
CO
CodeDemon
Quote Originally Posted by whatup777 View Post
Are they seals?/
Nope / Is /me tabs xD
#8 · 16y ago
whatup777
whatup777
Quote Originally Posted by CodeDemon View Post
Nope / Is /me tabs xD
I have tabs but they horribly aligned. (and too simple IMO.)
#9 · 16y ago
CO
CodeDemon
Quote Originally Posted by whatup777 View Post
I have tabs but they horribly aligned. (and too simple IMO.)
Well the simpler the better/, / what you can do with 100 lines of code is better if you can do it in 4 xD
#10 · 16y ago
markoj
markoj
Lmao Leeched DIRECTLY from UC forum, who is this maudesrule and why is he leeching and trying to take credits for nothing


And CodeDemons tabs are 287 times better
#11 · 16y ago
Void
Void
I do believe this is the wrong section, and if this is leeched, give credits.
#12 · 16y ago
whatup777
whatup777
Quote Originally Posted by markoj View Post
And CodeDemons tabs are 287 times better
They look Clean cut.

Quote Originally Posted by Void View Post
I do believe this is the wrong section, and if this is leeched, give credits.
^this. Move to C++ Section.
#13 · 16y ago
IC
IcySeal
Quote Originally Posted by mastermods View Post
Hey everyone. I made this Menu with a little help from my friend maudesrule
Your. Friend? Right.....
Anyways my base is moar better. Better constructor. Better drawing. And tabs that form fit the entered text OMG.
#14 · 16y ago
WH
whit
Nice Leech From One Of UC Bases
#15 · 16y ago
Posts 1–15 of 20 · Page 1 of 2

Post a Reply

Similar Threads

  • [RELEASE] Bot MenuBy venom3 in Call of Duty Modern Warfare 2 Server / GSC Modding
    15Last post 16y ago
  • [Release] Hotkeys Menu FormBy Hahaz in Combat Arms Spammers, Injectors and Multi Tools
    21Last post 15y ago
  • MrSkaFighter Tab Menu Hack 2.5By MrSkafighter in Combat Arms Hacks & Cheats
    458Last post 15y ago
  • Sydneys Tab Menu 1.0By Sydney in Combat Arms Europe Hacks
    77Last post 15y ago
  • Sydneys Epic Tab Menu 16.01.2011By Sydney in Combat Arms Europe Hacks
    60Last post 15y ago

Tags for this Thread

None