Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using static CSimple.SDK.Memory;
  7. using static CSimple.SDK.Offsets;
  8. using static CSimple.SDK.Structs.GlowObject;
  9. using System.Threading;
  10. namespace CSimple.SDK
  11. {
  12. class BunnyHop
  13. {
  14. //public static int aLocalPlayer = 0xCCA6A4;
  15. //public static int aFlags = 0x104;
  16. //public static int aFjump = 0x517E1C4;
  17. public enum VirtualKey;
  18.  
  19. void readMemoryLoop()
  20. {
  21. int i = 1;
  22. int FL_ONGROUND = (i << 0);
  23. while (true)
  24. {
  25. int dwLocalBase = ReadMemory<int>(Offsets.dwLocalPlayer + (int)g_pClient);
  26. int dwFlags = ReadMemory<int>(Offsets.m_fFlags + (int)g_pClient);
  27.  
  28. if (dwFlags & FL_ONGROUND && GetAsyncKeyState(0x20))
  29. {
  30.  
  31. }
  32. }
  33. }
  34.  
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement