kira yoshikage
-
Автор темы
- #1
- void FakeDuck() {
- static bool counter = false;
- static int cnt = 0;
- static bool do_ = false;
- bool once = false;//made by rev
- if (GetAsyncKeyState(c_config::get().fakeduck_bind))
- {
- Globals::LocalPlayer->GetBasePlayerAnimState()->m_fDuckAmount = 1.f;
- Globals::bSendPacket = false;
- g::FakelagShouldLag = false;
- if (cnt % 14 == 0)
- do_ = true;
- else if (cnt % 14 == 6)
- Globals::bSendPacket = true;
- else if (cnt % 14 == 7)
- do_ = false;//made by rev
- if (do_)
- Globals::pCmd->buttons |= IN_DUCK;
- else
- Globals::pCmd->buttons &= ~IN_DUCK;
- cnt++;
- }
- else {
- do_ = false;
- cnt = 0;
- g::FakelagShouldLag = true;
- }
- }