Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- g_Engine->GetViewAngles(StartAngles);
- static int headside = 1;
- if (GetAsyncKeyState(g_Options.Ragebot.manualrightkey)) headside = 1;
- if (GetAsyncKeyState(g_Options.Ragebot.manualleftkey)) headside = 2;
- if (GetAsyncKeyState(g_Options.Ragebot.manualbackkey)) headside = 3;
- switch (headside)
- {
- case 1:
- SpinAngles.y = StartAngles.y - 90.f;
- break;
- case 2:
- SpinAngles.y = StartAngles.y + 90.f;
- break;
- case 3:
- SpinAngles.y = StartAngles.y + 180.f;
- break;
- }
- if (Globals::shouldflip)
- {
- SpinAngles.y = SpinAngles.y + 118;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement