- Status
- Offline
- Joined
- Apr 20, 2020
- Messages
- 1
- Reaction score
- 2
A very simple and easy to do feature but posting here incase anyone else may want it. (Use with infinite duck)
Code:
if (config->antiAim.fakeDuck && config->antiAim.fakeDuckKey && GetAsyncKeyState(config->antiAim.fakeDuckKey) && localPlayer->isAlive())
if (localPlayer && localPlayer->isAlive())
if (interfaces->engine->getNetworkChannel()->chokedPackets > (config->misc.chokedPackets / 2))
cmd->buttons |= UserCmd::IN_DUCK;
else
cmd->buttons &= ~UserCmd::IN_DUCK;