Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void LegitHopLoop()
- {
- while (true)
- {
- if (LegitHopEnabled)
- {
- DWORD LocalPlayer_Base = Memory.ReadMemory<DWORD>(dwClientDLLBaseAddress + m_LocalPlayer);
- BYTE LocalPlayer_Flags = Memory.ReadMemory<BYTE>(LocalPlayer_Base + 0x100);
- if (GetAsyncKeyState(BHOP_KEY) & 0x8000)
- {
- if (LocalPlayer_Flags & (1 << 0))
- {
- Memory.WriteMemory<int>(dwClientDLLBaseAddress + jump, 5);
- Sleep(20);
- Memory.WriteMemory<int>(dwClientDLLBaseAddress + jump, 4);
- }
- }
- }
- Sleep(1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement