Code ??
void InitDoubleTap()
{
static bool did_shift_before = false;
static int double_tapped = 0;
static int prev_shift_ticks = 0;
static bool reset = false;
static int shot_tick = 0;
static int process_ticks = 0;
static int limit = 14;
CMAntiAim::Get().shot_dt = false;
if (CanDT() /*&& !csgo->game_rules->IsFreezeTime()*/)
{
if (vars.ragebot.double_tap->active)
{
prev_shift_ticks = 0;
auto can_shift_shot = CMAntiAim::Get().can_exploit(14);
auto can_shot = CMAntiAim::Get().can_exploit(abs(-1 - prev_shift_ticks));
if (can_shift_shot || !can_shot && !did_shift_before)
{
prev_shift_ticks = 14;
double_tapped = 0;
}
else {
double_tapped++;
prev_shift_ticks = 0;
}
//if (csgo->send_packet)
{
if (prev_shift_ticks > 0)
{
if (CMAntiAim::Get().can_exploit(prev_shift_ticks))
{
CMAntiAim::Get().shot_dt = true;
if (csgo->cmd->buttons & IN_ATTACK)
{
csgo->m_nTickbaseShift = prev_shift_ticks;
CMAntiAim::Get().did_shot = true;
reset = false;
CMAntiAim::Get().cmd_tick = csgo->cmd->command_number;
CMAntiAim::Get().base_tick = csgo->local->GetTickBase();
}
else
{
if ((!(csgo->cmd->buttons & IN_ATTACK) || !Ragebot::Get().shot) && CMAntiAim::Get().did_shot) {
csgo->dt_charged = false;
csgo->skip_ticks = vars.ragebot.dt_instant ? 16 : 8;
CMAntiAim::Get().did_shot = false;
}
}
}
else
{
CMAntiAim::Get().shot_dt = false;
process_ticks = 0;
}
}
did_shift_before = prev_shift_ticks != 0;
}
}
else {
csgo->bShootedFirstBullet = false;
csgo->TickShifted = false;
csgo->nSinceUse = 0;
}
}
}
C++:void InitDoubleTap() { static bool did_shift_before = false; static int double_tapped = 0; static int prev_shift_ticks = 0; static bool reset = false; static int shot_tick = 0; static int process_ticks = 0; static int limit = 14; CMAntiAim::Get().shot_dt = false; if (CanDT() /*&& !csgo->game_rules->IsFreezeTime()*/) { if (vars.ragebot.double_tap->active) { prev_shift_ticks = 0; auto can_shift_shot = CMAntiAim::Get().can_exploit(14); auto can_shot = CMAntiAim::Get().can_exploit(abs(-1 - prev_shift_ticks)); if (can_shift_shot || !can_shot && !did_shift_before) { prev_shift_ticks = 14; double_tapped = 0; } else { double_tapped++; prev_shift_ticks = 0; } //if (csgo->send_packet) { if (prev_shift_ticks > 0) { if (CMAntiAim::Get().can_exploit(prev_shift_ticks)) { CMAntiAim::Get().shot_dt = true; if (csgo->cmd->buttons & IN_ATTACK) { csgo->m_nTickbaseShift = prev_shift_ticks; CMAntiAim::Get().did_shot = true; reset = false; CMAntiAim::Get().cmd_tick = csgo->cmd->command_number; CMAntiAim::Get().base_tick = csgo->local->GetTickBase(); } else { if ((!(csgo->cmd->buttons & IN_ATTACK) || !Ragebot::Get().shot) && CMAntiAim::Get().did_shot) { csgo->dt_charged = false; csgo->skip_ticks = vars.ragebot.dt_instant ? 16 : 8; CMAntiAim::Get().did_shot = false; } } } else { CMAntiAim::Get().shot_dt = false; process_ticks = 0; } } did_shift_before = prev_shift_ticks != 0; } } else { csgo->bShootedFirstBullet = false; csgo->TickShifted = false; csgo->nSinceUse = 0; } } }
csgo->skip_ticks = vars.ragebot.dt_instant ? 14 : 7;
not workedC++:csgo->skip_ticks = vars.ragebot.dt_instant ? 14 : 7;
auto can_shift_shot = CMAntiAim::Get().can_exploit(16);
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz