if i turn on my teleport, i just freeze in place and can't walk or anything
Code:
float posiX, posiY, posiZ =0;
#define Ofs_X 0x4
#define Ofs_Y 0x4
#define Ofs_Z 0x4
if(Teleport){
DWORD dwPlayerPointer = *(DWORD*)0x37827B88; //Player Pointer
if(dwPlayerPointer != 0)
{
if (GetAsyncKeyState(VK_F8))//F8 Save PosiTion
{
posiX = *(float*)(dwPlayerPointer + Ofs_X);
posiY = *(float*)(dwPlayerPointer + Ofs_Y);
posiZ = *(float*)(dwPlayerPointer + Ofs_Z);
}}}
if (GetAsyncKeyState(VK_F9))//Teleport to Position
{
DWORD dwPlayerPointer = *(DWORD*)0x37827B88;
if(dwPlayerPointer != 0)
{
*(float*)(dwPlayerPointer + Ofs_X) = posiX;
*(float*)(dwPlayerPointer + Ofs_Y) = posiY;
*(float*)(dwPlayerPointer + Ofs_Z) = posiZ;
}
}
yes this is the teleport i posted awhile back lol