[SOURCE] Simple Teleport hack
Globals:
Getting use of the player pointer:
Teleport:
Code:
#define playerpointer 0x66F34 #define yoffset 0xCC DWORD player, position; float x,y,z;
Code:
player=NULL; player= (DWORD)GetModuleHandleA(\"ClientFX.fxd\"); player+= playerpointer; memcpy(&position,(void *)(player),4); position+= yoffset;
Code:
if(teleport == 1){
if(GetAsyncKeyState(VK_F12)<0){ //Saves current xyz
y = *(float*)position;
x = *(float*)(position+0x4);
z = *(float*)(position-0x4);
}
}
if(teleport == 2){ //Teleports to saved xyz
*(float*)position= y;
*(float*)(position+0x4)= x;
*(float*)(position-0x4)= z;
}
ur such an ca whore 

