Advertisement
jvrnejm

aimbot.h

Oct 18th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "../../Engine/Engine.h"
  4.  
  5. class CTimer;
  6.  
  7. namespace Engine
  8. {
  9. class CMe;
  10. class CPlayer;
  11. }
  12.  
  13. using namespace Engine;
  14.  
  15. enum AIM_ATTACK_TYPE
  16. {
  17. AA_SHOTGUN,
  18. AA_SNIPER_PISTOL
  19. };
  20.  
  21. class CAimbot
  22. {
  23. public:
  24.  
  25. CAimbot();
  26. //[swap_lines]
  27. bool IsEnable();
  28.  
  29. int GetPlayerFov(CPlayer* pPlayer);
  30.  
  31. int GetBestTarget();
  32. int GetBestHitBox();
  33.  
  34. void OnRender();
  35.  
  36. void Aimbot();
  37. void AimbotSet();
  38.  
  39. void AutoPistol();
  40. void OnCreateMove(CUserCmd* pCmd, CMe* pLocal);
  41. //[/swap_lines]
  42. private:
  43.  
  44. CMe* m_pLocal;
  45. CUserCmd* m_pCmd;
  46.  
  47. int m_iBestPreTarget;
  48.  
  49. int m_iBestTarget;
  50. int m_iBestHitbox;
  51.  
  52. bool m_bClamp;
  53. bool m_bAttack;
  54. bool m_bAimShot;
  55. bool m_bTargetFov;
  56. bool m_bTargetChange;
  57. bool m_bAutoPistolEn;
  58.  
  59. CTimer* m_pShotDelay;
  60.  
  61. Vector m_vAimBestHitbox;
  62. Vector m_vAimBestHitboxScreen;
  63. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement