Im trying to read an entitys position so when i read it externally like
Code:
ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(BaseEntity + X), &Pos, sizeof(float[3]), 0);
this, it works but when i try to read it like
Code:
Pos[0] = *(float*)((DWORD)BaseEntity + X);
Pos[1] = *(float*)((DWORD)BaseEntity + Z);
Pos[2] = *(float*)((DWORD)BaseEntity + Y);
this^ my game crashes :P anybody knows why?
Heres my offsets:
Code:
X = 0x260;
Z = 0x264;
Y = 0x268;
- - - Updated - - -
@Hunter you can close this, i fixed it but idk how lol