Zayan Imran Posted February 20, 2014 Share Posted February 20, 2014 (edited) Yes, I am confused with something. I was actually writing a list of addresses for my GTA SA cheater program in C++ and I got confused. Look at http://www.gtamodding.com/?title=Memory_Addresses_(SA) - if I take the address of money and declare as DWORD - like this: DWORD pMONEY = (0xB7CE50); //Current money of the player. Will it be effected anyway if I use this someplace else (like will it work in all conditions)? And what is the difference between the usage of that and this (I know its a define constant, but any other differences? like not using this as DWORD): #define pMONEY 0xB7CE50 //Current money of the player. As I am new, I would be sorry for my mistakes and posting in the wrong section. Edited February 20, 2014 by Zayan Imran Link to comment https://gtaforums.com/topic/686022-am-i-doing-this-correct-please-help-me-as-i-am-new/ Share on other sites More sharing options...
Zayan Imran Posted February 21, 2014 Author Share Posted February 21, 2014 *BUMP* 1 day has passed for me. Link to comment https://gtaforums.com/topic/686022-am-i-doing-this-correct-please-help-me-as-i-am-new/#findComment-1064795488 Share on other sites More sharing options...
Zayan Imran Posted February 21, 2014 Author Share Posted February 21, 2014 Anyone please?! Link to comment https://gtaforums.com/topic/686022-am-i-doing-this-correct-please-help-me-as-i-am-new/#findComment-1064797679 Share on other sites More sharing options...
Zayan Imran Posted February 22, 2014 Author Share Posted February 22, 2014 2 Days!! Anyone?! One more question: If I want to find address like 0x8CDEE4 in cheat engine, how can I do it? CTRL + F? Link to comment https://gtaforums.com/topic/686022-am-i-doing-this-correct-please-help-me-as-i-am-new/#findComment-1064806825 Share on other sites More sharing options...
DK22Pac Posted February 22, 2014 Share Posted February 22, 2014 #define gPlayerMoney (*(unsigned __int32 *)0xB7CE50) void a() { gPlayerMoney += 10; } Link to comment https://gtaforums.com/topic/686022-am-i-doing-this-correct-please-help-me-as-i-am-new/#findComment-1064807712 Share on other sites More sharing options...
Zayan Imran Posted February 23, 2014 Author Share Posted February 23, 2014 (edited) Can we do like this: //We will have to include windows. DWORD pMONEY (0xB7CE50); inline void gMoney(int a) { return WriteMemoryToProcess(...,..., pMONEY, (a)) } Edited February 23, 2014 by Zayan Imran Link to comment https://gtaforums.com/topic/686022-am-i-doing-this-correct-please-help-me-as-i-am-new/#findComment-1064810361 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now