Use world instead of plocal, I think.
Hey guys i' m working on my first dayz hack (if we can call this a hack)
Anyway i'm trying to do a nofatigue, norecoil and nospread (with the breath)
My nograss works great by the way.
So what i did :
Offset for my local player : 0x16FC
Offset for the base : 0x1065DA8
My nograss is working so i assume dat my base is correct.
The 3 others doesn' t work.
I use :
plocal + 0x0C70, 0f for fatigue
plocal + 0x0C74, 1f for fatigueDiff
plocal + 0x0c6c, 0f for breath
Did i do something wrong ?
Thanks for the help mates
Use world instead of plocal, I think.
Do you go 4 bytes into pLocal?
Like this:
Object = Mem.Read<uintptr_t>(pBase + BaseOffsets.LocalPlayer);
Object = Mem.Read<uintptr_t>(Object + 0x4);
gtaplayer2 (12-28-2014),XToitkimini (12-28-2014)
Thank you guys for the helpp but it still doesn' t work.
Here is what i do :
int mylittleplayer = memread(mybase + 0x16FC)
mylittleplayer = memread(mylittleplayer + 0x4)
Then
int norecoil = 0xC8C
and then
writefloatblablabla(mylittleplayer + norecoil, 0f);
Hum i think i' m close but ...
XToitkimini (12-28-2014)