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 › Programming › C++/C Programming › [GTA San Andreas]CPed?

[GTA San Andreas]CPed?

Posts 1–12 of 12 · Page 1 of 1
YO
YoavX
[GTA San Andreas]CPed?
i've found a huge page of addresses in GTA San Andreas:
Memory Addresses (SA - GTAModding)
It says that the X coordinate of the player isCPed+0x14) +0x30
and the Y coordinate of the player is: (CPed+0x14) +0x34
and the Z coordinate of the player is: (CPed+0x14) +0x38
and CPed is: 0xB6F5F0
and the X,Y,Z are DWORDs.
i've created a dll file which tries the following:
Code:
DWORD* X = (DWORD*)(0xB6F5F0 + 0x14) + 0x30;
DWORD* Y = (DWORD*)(0xB6F5F0 + 0x14) + 0x34;
DWORD* Z = (DWORD*)(0xB6F5F0 + 0x14) + 0x38;
but it doesn't works.
help please???
#1 · 16y ago
Snape
Snape
you did not say, what you want from these codes.
#2 · 16y ago
YO
YoavX
i want to send a messagebox that writes these coordinates as a message
#3 · 16y ago
Retoxified
Retoxified
CPed + 0x14 is a pointer to the location/rotation.
DWORD *X = (*(DWORD*)(0xB6F5F0 + 0x14))+0x30;
#4 · 16y ago
why06
why06
Quote Originally Posted by YoavX View Post
i want to send a messagebox that writes these coordinates as a message
Errr.... wdf would you want to do that o_O?

DWORD* Z = (DWORD*)(0xB6F5F0 + 0x14) + 0x38;
char buff[50];
snprintf(buff, sizeof buff, "%f", (float)*Z);
MessageBoxA(NULL, "Print", buff, MB_OK);
#5 · 16y ago
YO
YoavX
DWORD *X = (*(DWORD*)(0xB6F5F0 + 0x14))+0x30;
doesn't works, makes an error:
cannot convert from 'DWORD' to 'DWORD *'

DWORD* Z = (DWORD*)(0xB6F5F0 + 0x14) + 0x38;
always gives the same value
#6 · 16y ago
Void
Void
Quote Originally Posted by YoavX View Post
DWORD *X = (*(DWORD*)(0xB6F5F0 + 0x14))+0x30;
doesn't works, makes an error:
cannot convert from 'DWORD' to 'DWORD *'

DWORD* Z = (DWORD*)(0xB6F5F0 + 0x14) + 0x38;
always gives the same value
[php]
DWORD *X = (*(DWORD**)(0xB6F5F0 + 0x14))+0x30;
[/php]
#7 · 16y ago
YO
YoavX
DWORD *X = (*(DWORD**)(0xB6F5F0 + 0x14))+0x30;
char buff[256];
sprintf(buff,"%f", (float)*X);
MessageBoxA(NULL, buff, buff, MB_OK);

crashes the game when used
#8 · edited 16y ago · 16y ago
Retoxified
Retoxified
Quote Originally Posted by YoavX View Post
DWORD *X = (*(DWORD**)(0xB6F5F0 + 0x14))+0x30;
char buff[256];
sprintf(buff,"%f", (float)*X);
MessageBoxA(NULL, buff, buff, MB_OK);

crashes the game when used
We're not gonna spoonfeed you the solution...
#9 · 16y ago
Void
Void
Quote Originally Posted by YoavX View Post
DWORD *X = (*(DWORD**)(0xB6F5F0 + 0x14))+0x30;
char buff[256];
sprintf(buff,"%f", (float)*X);
MessageBoxA(NULL, buff, buff, MB_OK);

crashes the game when used
We're not going to hack the game for you. With what you've given us the only thing we can do is help with syntax.
#10 · 16y ago
KABLE
KABLE
Off topic but lol @ toxified's sig
#11 · 16y ago
why06
why06
Quote Originally Posted by kAblE View Post
Off topic but lol @ toxified's sig
Oh, lol xD.. I turn my sigs off so I didn't notice that till you pointed it out.

Oh well... This guys isn't posting sufficient code to know what the problem is... =/
#12 · 16y ago
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

  • Selling GTA San Andreas PC DownloadBy naomelembro14 in Trade Accounts/Keys/Items
    12Last post 18y ago
  • Hack for GTA San Andreas MULTIPLAYER?!By UvGPhil in Hack Requests
    3Last post 17y ago
  • GTA San Andreas PC ModsBy Comet in Social Game Hacks & Trainers
    10Last post 16y ago
  • Free GTA San Andreas Download with Cheats/Hints!By Ariez in General Game Hacking
    9Last post 17y ago

Tags for this Thread

None