Quantcast

Jump to content

» «
Photo

Am I doing this correct? Please help me as I am new.

5 replies to this topic
Zayan Imran
  • Zayan Imran

    Player Hater

  • Members
  • Joined: 18 Feb 2014
  • Saudi-Arabia

#1

Posted 20 February 2014 - 09:04 PM Edited by Zayan Imran, 20 February 2014 - 09:05 PM.

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.gtamoddin...y_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.


Zayan Imran
  • Zayan Imran

    Player Hater

  • Members
  • Joined: 18 Feb 2014
  • Saudi-Arabia

#2

Posted 21 February 2014 - 08:16 AM

*BUMP* 1 day has passed for me.


Zayan Imran
  • Zayan Imran

    Player Hater

  • Members
  • Joined: 18 Feb 2014
  • Saudi-Arabia

#3

Posted 21 February 2014 - 04:34 PM

Anyone please?!


Zayan Imran
  • Zayan Imran

    Player Hater

  • Members
  • Joined: 18 Feb 2014
  • Saudi-Arabia

#4

Posted 22 February 2014 - 09:14 PM

2 Days!! Anyone?!

 

One more question: If I want to find address like 0x8CDEE4 in cheat engine, how can I do it? CTRL + F?


_DK
  • _DK

    Homie

  • Feroci Racing
  • Joined: 12 Apr 2009
  • Ukraine

#5

Posted 22 February 2014 - 11:28 PM

#define gPlayerMoney (*(unsigned __int32 *)0xB7CE50)

void a()
{
    gPlayerMoney += 10;
}

Zayan Imran
  • Zayan Imran

    Player Hater

  • Members
  • Joined: 18 Feb 2014
  • Saudi-Arabia

#6

Posted 23 February 2014 - 08:38 AM Edited by Zayan Imran, 23 February 2014 - 08:39 AM.

Can we do like this:

 

//We will have to include windows.

 

DWORD pMONEY (0xB7CE50);

 

inline void gMoney(int a)

{

    return WriteMemoryToProcess(...,..., pMONEY, (a))

}





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users