Подведи собственные итоги года совместно с YOUGAME и забери ценные призы! Перейти

Lw delta

ive never been interested in this so I hope I did the right thing. if there is an error please correct it
C++:
Expand Collapse Copy
void Esp::DrawDeltaInfo()
{
    auto GLocal = csgo::Get().Entity.List->(csgo::Get().Engine->GetLocalPlayer());
    if (!GLocal)
        return;

    if (!GLocal->IsAlive())
        return;

    int get_width;
    int get_height;
    
    csgo::Get().Engine->GetScreenSize(get_width, get_height);

    int get_center_x = get_width / 2;
    int get_center_y = get_height / 2;
    
    int delta = (std::abs(csgo::Get().Globals.m_fake_poses[11] - csgo::Get().Globals.m_real_poses[11])) * 100;
    
    std::string t_delta = std::to_string(delta);

    if (csgo::Get().Config.Rage.Enable || csgo::Get().Config.Antiaim.Enable)
    {
        csgo::Get().Surface->DrawText(5, get_center_y - 50, csgo::Get().Colors.white, csgo::Get().Fonts.DefaultIndicator, true, "Delta:" + " " + t_delta);
    }
}
 
Назад
Сверху Снизу