Advertisement
Guest User

b1g

a guest
May 27th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. g_Engine->GetViewAngles(StartAngles);
  2. static int headside = 1;
  3. if (GetAsyncKeyState(g_Options.Ragebot.manualrightkey)) headside = 1;
  4. if (GetAsyncKeyState(g_Options.Ragebot.manualleftkey)) headside = 2;
  5. if (GetAsyncKeyState(g_Options.Ragebot.manualbackkey)) headside = 3;
  6. switch (headside)
  7. {
  8. case 1:
  9. SpinAngles.y = StartAngles.y - 90.f;
  10. break;
  11. case 2:
  12. SpinAngles.y = StartAngles.y + 90.f;
  13. break;
  14. case 3:
  15. SpinAngles.y = StartAngles.y + 180.f;
  16. break;
  17. }
  18. if (Globals::shouldflip)
  19. {
  20. SpinAngles.y = SpinAngles.y + 118;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement