Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void fakelowerbody2(CUserCmd *pCmd, bool &bSendPacket)
- {
- static int ChokedPackets = -1;
- ChokedPackets++;
- #define RandomInt(min, max) (rand() % (max - min + 1) + min)
- if (ChokedPackets < 1)
- {
- bSendPacket = false;
- pCmd->viewangles.y -= hackManager.pLocal()->GetLowerBodyYaw() + RandomInt(30, 61);
- }
- else
- {
- bSendPacket = true;
- pCmd->viewangles.y += hackManager.pLocal()->GetLowerBodyYaw() - RandomInt(180, 360);
- ChokedPackets = -1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement