Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Teleport
- if(CH_Teleport==1){
- DWORD dwPlayerPointer = *(DWORD*)Addr_Playerpointer;
- 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*)Addr_Playerpointer;
- if(dwPlayerPointer != 0)
- {
- *(float*)(dwPlayerPointer + Ofs_X) = posiX;
- *(float*)(dwPlayerPointer + Ofs_Y) = posiY;
- *(float*)(dwPlayerPointer + Ofs_Z) = posiZ;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement