-
Автор темы
- #1
Код:
static auto sw = false;
switch (vars.antiaim.desync_type)
{
case 0:
csgo->should_sidemove = true;
if (!send_packet)
csgo->cmd->viewangles.y -= 58.f * side;
break;
case 1:
csgo->should_sidemove = true;
if (!send_packet)
{
csgo->cmd->viewangles.y += 120.f * side;
}
break;
case 2:
csgo->should_sidemove = true;
if (!send_packet)
{
static auto st = 0;
st++;
if (st < 2)
{
static auto j = false;
csgo->cmd->viewangles.y += j ? vars.antiaim.jitterrange : -vars.antiaim.jitterrange;
j = !j;
}
else
st = 0;
}
break;
case 3:
csgo->should_sidemove = true;
if (!send_packet)
csgo->cmd->viewangles.y += sw ? vars.antiaim.jitterrange : -vars.antiaim.jitterrange;
sw = !sw;
break;
case 4:
csgo->should_sidemove = true;
if (!send_packet)
csgo->cmd->viewangles.y += Math::RandomFloat(vars.antiaim.jitterrange, -vars.antiaim.jitterrange);
break;
}