Help Memory addresses

kakaka

Active member
Joined
Jun 7, 2014
Messages
59
Reaction score
0
hello guys,im creating 1 "hack" with visual basic and using writefloat... to change memory addresses with cheat engine,but when 1 restart the game,he change.

I see this link :http://www.gtamodding.com/?title=Memory_Addresses_%28SA%29
But i see CPed +0x540 = [float] Health

How to add this for the code?
Example the visual basic :
Code:
WriteFloat("gta_sa", &HB793E0, fulllife)

but how to add this addresse to code?
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
kakaka link said:
help please!
0xB793E0 - [float] Health stat 
this is for CJ's health stat (Single player)

To change health you have to read CPed = 0xB6F5F0, then add to it 0x540, then change it with WriteFloat.

PHP:
dim CPed as integer = ReadMemoryInt(&HB6F5F0, 4)
WriteFloat("gta_sa", (CPed + &H540), fulllife)
 
Top