there are still 2 other things needed besides thisCode:void OPK(void) { while(1){ posptr=NULL; posptr = (DWORD)GetModuleHandleA("ClientFX.fxd"); posptr += charposoffset; memcpy(&posy,(void *)(posptr),4); posy += posyoffset; memcpy(&playertarget,(void *)(otherplyrptr),4); playertarget += yoffset; ;if(GetAsyncKeyState(VK_F10)&1) { if(posy > posyoffset && playertarget > yoffset) { *(float*)playertarget = *(float*)posy; *(float*)(playertarget+0x4) = *(float*)(posy+0x4); *(float*)(playertarget-0x4) = *(float*)(posy-0x4); } } ;if(GetAsyncKeyState(VK_F11)&1) { if(posy > posyoffset && playertarget > yoffset) { *(float*)posy = *(float*)playertarget; *(float*)(posy+0x4) = *(float*)(playertarget+0x4); *(float*)(posy-0x4) = *(float*)(playertarget-0x4); } } } }
1.) a base
and your missing a dword, addresses, bunch of stuff