Advertisement
uzilmao

Untitled

May 28th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. if (IsBreakingLBY)
  2. {
  3. Globals::resolvemode = 2;
  4.  
  5. pEnt->GetEyeAngles()->y = oldLBY;
  6.  
  7. switch (Globals::Shots % 3)
  8. {
  9. case 1: pEnt->GetEyeAngles()->y = 180; break;
  10. case 2: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() + rand() % 180;
  11. case 3: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() + pEnt->GetEyeAngles()->y + rand() % 35;
  12. }
  13. }
  14. else if (!IsBreakingLBY && !isFakeHeading)
  15. {
  16. Globals::resolvemode = 3;
  17.  
  18. pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw();
  19.  
  20. switch (Globals::Shots % 4)
  21. {
  22. case 1: pEnt->GetEyeAngles()->y = 45 + rand() % 180;
  23. case 2: pEnt->GetEyeAngles()->y = oldLBY + rand() % 100;
  24. case 3: pEnt->GetEyeAngles()->y = 180 + rand() % 90;
  25. case 4: pEnt->GetEyeAngles()->y = oldLBY + pEnt->GetEyeAngles()->y + rand() % 45;
  26. }
  27. }
  28. else if (isFakeHeading)
  29. {
  30. Globals::resolvemode = 2;
  31.  
  32. pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() - pEnt->GetEyeAngles()->y;
  33.  
  34. switch (Globals::Shots % 2)
  35. {
  36. case 1: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() + rand() % 90; break;
  37. case 2: pEnt->GetEyeAngles()->y = pEnt->GetEyeAngles()->y + rand() % 360; break;
  38. }
  39. }
  40. else if (Globals::Shots >= g_Options.Ragebot.bruteAfterX && g_Options.Ragebot.bruteAfterX != 0)
  41. {
  42. Globals::resolvemode = 2;
  43.  
  44. pEnt->GetEyeAngles()->y = 180;
  45.  
  46. switch (Globals::Shots % 4)
  47. {
  48. case 1: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw(); break;
  49. case 2: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() + rand() % 90; break;
  50. case 3: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() + rand() % 180; break;
  51. case 4: pEnt->GetEyeAngles()->y = oldLBY + rand() % 45; break;
  52. }
  53. }
  54. else
  55. {
  56. Globals::resolvemode = 1;
  57.  
  58. pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() + rand() % 180;
  59.  
  60. switch (Globals::Shots % 10)
  61. {
  62. case 1: pEnt->GetEyeAngles()->y = 180; break;
  63. case 2: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() + rand() % 165;
  64. case 3: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() + pEnt->GetEyeAngles()->y + rand() % 35;
  65. case 4: pEnt->GetEyeAngles()->y = 45 + rand() % 180;
  66. case 5: pEnt->GetEyeAngles()->y = oldLBY + rand() % 100;
  67. case 6: pEnt->GetEyeAngles()->y = 180 + rand() % 90;
  68. case 7: pEnt->GetEyeAngles()->y = oldLBY + pEnt->GetEyeAngles()->y + rand() % 45;
  69. case 8: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw(); break;
  70. case 9: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() + rand() % 90; break;
  71. case 10: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() + rand() % 180; break;
  72. case 11: pEnt->GetEyeAngles()->y = oldLBY + rand() % 45; break;
  73. case 12: pEnt->GetEyeAngles()->y = pEnt->GetLowerBodyYaw() + rand() % 90; break;
  74. case 13: pEnt->GetEyeAngles()->y = pEnt->GetEyeAngles()->y + rand() % 360; break;
  75. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement