Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. void LegitHopLoop()
  2. {
  3. while (true)
  4. {
  5. if (LegitHopEnabled)
  6. {
  7. DWORD LocalPlayer_Base = Memory.ReadMemory<DWORD>(dwClientDLLBaseAddress + m_LocalPlayer);
  8. BYTE LocalPlayer_Flags = Memory.ReadMemory<BYTE>(LocalPlayer_Base + 0x100);
  9.  
  10. if (GetAsyncKeyState(BHOP_KEY) & 0x8000)
  11. {
  12. if (LocalPlayer_Flags & (1 << 0))
  13. {
  14. Memory.WriteMemory<int>(dwClientDLLBaseAddress + jump, 5);
  15. Sleep(20);
  16. Memory.WriteMemory<int>(dwClientDLLBaseAddress + jump, 4);
  17. }
  18. }
  19. }
  20. Sleep(1);
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement