i have a working source...here it is (don't worry i removed thiings so its not completely useable unless you know how to fix it)

anyway, i have the pointers and such for NPC's (cuz i don't want a pub telekill out lol) but i cant get the opk to work

if the opk/tele are in the void like below, it doesn't turn on at all in game, nor does it teleport anything in anyway

Code:
#define charposoffset ClientFx.fxd + 0x66F34 //player pointer
#define otherplyrptr //enemy pointer
#define posyoffset 
#define yoffset 
DWORD posptr;
DWORD posy;
DWORD playertarget;


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+0x9) = *(float*)(playertarget+0x9);
                                *(float*)(posy-0x9) = *(float*)(playertarget-0x9);
                        }
                }
 
        }
}

DWORD WINAPI OPKSTARTUP(LPVOID)
{
        while( !IsGameReadyForHook() )
        Sleep(800);
OPK();
        return 0;
}
note, i changed a lot so its gonna be hard for sum1 to c+p.

anyway, it doesn't start to opk or tele when i hit the hot key whetehr i have it on or off in the menu

i tried putting it with my nametags and ptc's to get it to tele/opk with it on/off on menu with hotkeys and it didn't work because i had to // the dword winapi section to even get it to compile

help? (if you want the source updated i have it, i'll only give it to good coders though)