Float Address In Game Memory [Solved]
Hello everybody,
I have small code to change int address with offsets in game memory. Code is:
Code:
*(DWORD*) ((*(DWORD*)((*(DWORD*)((*(DWORD*)((*(DWORD*)((*(DWORD*)0x006F9430)+0x30))+0x80))+0x754))+0x778))+0x28) = -4.88;
But game address which I want to change is float type, so this piece of code writes
int value into
float type and that's my problem. How can I correct it ?
Thanks
Look at Crossfire/Combat arms Hack source code section '-'
thx man, just edit first *(DWORD*) to *(float*)