Happy99

für teyd

Feb 28th, 2020
190
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Flags
  2. #define FL_ON_GROUND 257
  3. #define FL_ON_GROUND_CROUCHED 263
  4. #define FL_ON_GROUND_MOVING_TO_STAND 259
  5. #define FL_ON_GROUND_MOVING_TO_CROUCH 261
  6. #define FL_IN_PUDDLE 1281
  7. #define FL_IN_PUDDLE_CROUCHED 1287
  8. #define FL_IN_WATER 1280
  9. #define FL_IN_WATER_CROUCHED 1286
  10. #define FL_IN_AIR_MOVING_TO_CROUCH 260
  11. #define FL_IN_AIR_STAND 256
  12. #define FL_IN_AIR_MOVING_TO_STAND 258
  13. #define FL_IN_AIR_CROUCHED 262
  14.  
  15. //dwClient ist client_panorama.dll
  16. int LocalBase = Memory::Read<int>(dwClient + Offsets.dwLocalPlayer);
  17. int flag = Memory::Read<int>(LocalBase + Offsets.m_fFlags);
  18.  
  19. if (flag == FL_ON_GROUND || FL_ON_GROUND_CROUCHED)
  20. Memory::Write<int>(dwClient + Offsets.dwForceJump, 6);
RAW Paste Data