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 › Analog Clock

Analog Clock

Posts 1–9 of 9 · Page 1 of 1
GA
GameTrainerMaker
Analog Clock
Code:
void Gadget::PaintClock(int x, int y)
{
	struct tm * current_tm;
	time_t current_time;

	time (&current_time);
	current_tm = localtime (&current_time);

	//for(int r = 0; r < 50; r++)
	//{
	//	Surface->DrawColoredCircle(x,y,r,0,0,0,255);
	//}

	Surface->DrawColoredCircle(x,y,50,255,255,255,255);
	Surface->DrawColoredCircle(x,y,49,255,255,255,255);


	float alpha = 30*current_tm->tm_hour;
	float beta = 6*current_tm->tm_min;
	float phi = 6*current_tm->tm_sec;

	int nx = x+35*sin(ToRadia(alpha));
	int ny = y-35*cos(ToRadia(alpha));

	int nx2 = x+45*sin(ToRadia(beta));
	int ny2 = y-45*cos(ToRadia(beta));

	int nx3 = x+40*sin(ToRadia(phi));
	int ny3 = y-40*cos(ToRadia(phi));


	DrawLine(x,y,nx,ny);
	DrawLine(x+1,y+1,nx,ny);
	DrawLine(x,y,nx2,ny2);
	DrawLine(x+1,y+1,nx2,ny2);
	DrawLine(x,y,nx3,ny3);

}
CREDITS TO WHOEVER MADE THIS!!
#1 · 16y ago
MA
mastermods
great job gtm!
#2 · 16y ago
swatfx
swatfx
sounds sexy.. do u have a screenshot?
#3 · 16y ago
GA
GameTrainerMaker
no Sorry!! i formatted and dont have any games,programs etc
#4 · 16y ago
NH
nhannie
hi hows it going?
#5 · 16y ago
IC
IcySeal
You're missing a bunch of things in this...
#6 · 16y ago
GA
GameTrainerMaker
i no. if the leechers are good C++ers then they will no how to fix it!
#7 · 16y ago
IC
IcySeal
Angle to radian function, Surface, and the DrawLine function.

Those aren't hard though.
#8 · 16y ago
ST
Stephen
Nothing Google cant fix.. /me
#9 · 16y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • Analog ClockBy Zoom in Visual Basic Programming
    1Last post 16y ago
  • [Tut?]Make analog clockBy /b/oss in Visual Basic Programming
    5Last post 16y ago
  • [Tutorial]VB2008! How To Make Digital Clock On Your Form!By almog6666 in Visual Basic Programming
    3Last post 17y ago
  • Clock Suckers - Funny or Lame?By daowner2 in General
    8Last post 18y ago
  • 3 o' clock in the morningBy Doupleganger in Spammers Corner
    8Last post 19y ago

Tags for this Thread

None