Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // LowerBody based AntiAim
- static bool flip = false;
- static bool flip2 = false;
- float flip2angle = 0.f;
- if (pLocal->lowerbody() != G::MyLowerBody) //If lowerbody updates and is different than previous change the antiaim
- flip2 = !flip2;
- if (flip2)
- flip2angle = 180.f;
- else
- flip2angle = 0.f;
- if (flip)
- {
- pCmd->viewangles.y += 90.0 + flip2angle;
- G::bSendPacket = false;
- }
- else
- {
- pCmd->viewangles.y += -90.0 + flip2angle;
- G::bSendPacket = true;
- }
- G::MyLowerBody = pLocal->lowerbody();
- flip = !flip;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement