-
Автор темы
- #1
Also, you need to disable double-tap to make it work of course
The GetEyePosition [If you don't already have it then you are dumb :p]
You need to add a fakeduck visuals fix thing lel
( Demonstration )
Код:
void FakeDuck()
{
static int fakeduckChokeAmount = 0;
csgo->cmd->buttons |= IN_BULLRUSH; force IN_BULLRUSH
if (vars.antiaim.fakeduck->active) {
if (fakeduckChokeAmount > 14)
{
fakeduckChokeAmount = 0;
csgo->send_packet = true;
}
else {
csgo->send_packet = false;
}
fakeduckChokeAmount++;
auto choke = interfaces.engine->GetNetChannel()->iChokedPackets;
if (csgo->local->GetFlags() & FL_ONGROUND)
{
if (choke >= 7) {
csgo->cmd->buttons |= IN_DUCK;
}
else {
csgo->cmd->buttons &= ~IN_DUCK;
}
}
}
else {
fakeduckChokeAmount = 0;
}
}
The GetEyePosition [If you don't already have it then you are dumb :p]
Код:
Vector IBasePlayer::GetEyePosition()
{
if (vars.antiaim.fakeduck->active && this->EntIndex() == interfaces.engine->GetLocalPlayer()) {
auto origin = GetOrigin();
auto vDuckHullMin = interfaces.game_movement->GetPlayerMins(true);
auto vStandHullMin = interfaces.game_movement->GetPlayerMins(false);
float fMore = (vDuckHullMin.z - vStandHullMin.z);
auto vecDuckViewOffset = interfaces.game_movement->GetPlayerViewOffset(true);
auto vecStandViewOffset = interfaces.game_movement->GetPlayerViewOffset(false);
float duckFraction = GetDuckAmount();
float tempz = ((vecDuckViewOffset.z - fMore) * duckFraction) +
(vecStandViewOffset.z * (1 - duckFraction));
origin.z += tempz;
return origin;
}
return GetOrigin() + GetVecViewOffset();
}