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 › Other Semi-Popular First Person Shooter Hacks › Alliance of Valiant Arms (AVA) Hacks & Cheats › How to Make a D3D Crosshair

ArrowHow to Make a D3D Crosshair

Posts 1–8 of 8 · Page 1 of 1
SA
sam22
How to Make a D3D Crosshair
Hello guys here is how to make a d3d crosshair enjoy.

this how you make a d3d crosshair you use the Starter kit or make your own one i suggest if your good at coding to make your own because the starter kit is well detected . here is the code
in Globals put this (Hint. in the top of your source code)

Code:
float ScreenCenterX = 0.0f;//Horizontal Position 
  float ScreenCenterY = 0.0f;//Vertical Position  
  bool crosshair = false; 
  D3DCOLOR redt = D3DCOLOR_XRGB( 255, 0, 0 );
next
in setviewport add this ( Hint: to find the set View port in starter kit press ctrl and f and serch setview port)

Code:
ScreenCenterX = ( float )pViewport->Width / 2; 
          ScreenCenterY = ( float )pViewport->Height / 2;
and add this in endsance( hint; you find this as well by pressing ctrl and f and typing the name )

Code:
  if(crosshair) 
     {  
       D3DRECT rec2 = {ScreenCenterX-20, ScreenCenterY, ScreenCenterX+ 20, ScreenCenterY+2}; 
    D3DRECT rec3 = {ScreenCenterX, ScreenCenterY-20, ScreenCenterX+ 2,ScreenCenterY+20}; 
                                  
    m_pD3Ddev->Clear(1, &rec2, D3DCLEAR_TARGET,redt, 0,  0); 
    m_pD3Ddev->Clear(1, &rec3, D3DCLEAR_TARGET,redt, 0,  0); 
//Add hotkey
and this how you would add hotkeys
Code:
if (GetKeyState(VK_F4) &1)
{
//Code here
}
so it would be like
this
Code:
if (GetKeyState(VK_F4) &1)          //<----- this don't need to be f4 it can be any button but rember  Big later 
{
   Crosshair = ! crosshair 
}
and rember to add this in the top as well
Code:
bool crosshair = false;
credits to me ( Ao Team) and I will show you how to make glass walls and more see you guys than
AND if you need any help write here
press thank!!!!
/
#1 · edited 15y ago · 15y ago
WH
whit
Nice Tut i guess..
But im Pretty sure everyone can make a crosshair ..
#2 · 15y ago
SA
sam22
Quote Originally Posted by whit View Post
Nice Tut i guess..
But im Pretty sure everyone can make a crosshair ..
Thanks but no everyone can make a crosshair
#3 · 15y ago
WH
whit
Really..
That the simplest thing to do with the Directx sdk
#4 · 15y ago
SA
sam22
Quote Originally Posted by whit View Post
Really..
That the simplest thing to do with the Directx sdk
sure it is but can u make it undetected lol
#5 · 15y ago
/B
/b/oss
/moved to tut!

thanks!
#6 · 15y ago
Julma Henri
Julma Henri
What program u use to make ?
#7 · 15y ago
SA
sam22
Quote Originally Posted by iSuckX View Post
What program u use to make ?
C++ expres is free for micorsoft
#8 · 15y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Tags for this Thread

None