Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IClientEntity* pLocal = hackManager.pLocal();
- if (GetAsyncKeyState(VK_SHIFT))
- {
- static int iChoked = -1;
- iChoked++;
- if (iChoked < 1)
- {
- bSendPacket = false;
- pCmd->tick_count += 10;
- pCmd->command_number += 7 + pCmd->tick_count % 2 ? 0 : 1;
- pCmd->buttons |= pLocal->GetMoveType() == IN_BACK;
- pCmd->forwardmove = pCmd->sidemove = 0.f;
- }
- else
- {
- bSendPacket = true;
- iChoked = -1;
- Interfaces::Globals->frametime *= (pLocal->GetVelocity().Length2D()) / 1.f;
- pCmd->buttons |= pLocal->GetMoveType() == IN_FORWARD;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement