Подпишитесь на наш Telegram-канал, чтобы всегда быть в курсе важных обновлений! Перейти

Исходник Gamesense indicators

Участник
Участник
Статус
Оффлайн
Регистрация
8 Янв 2020
Сообщения
429
Реакции
229
gamesense indicators

ss
gs_indicators.png


C++:
Expand Collapse Copy
void  misc::indicators()
{
    if (!g_cfg.misc.indicators)
        return;
   
    auto x = g_cfg.misc.indicator_x;
    auto y = g_cfg.misc.indicator_y;

    auto width = 197;
    auto height = 47;

    render::get().rect_filled(x + 44, y - 1, width + 2, height + 2, Color(0, 0, 0, 255));
    render::get().rect_filled(x + 45, y, width, height, Color(34, 34, 34, 255));
    render::get().rect_filled(x + 50, y + 7, width - 11, height - 12, Color(0, 0, 0, 255));

    render::get().rect(x + 50, y + 5, width - 10, height - 9, Color(56, 56, 56, 255));
    render::get().rect(x + 45, y, width, height, Color(56, 56, 56, 255));

    width = 93;

    render::get().gradient(x + 51, y + 6, width - 1, 1, Color(59, 175, 222, 255), Color(202, 70, 205, 255), GRADIENT_HORIZONTAL);
    render::get().gradient(x + 51 + width, y + 6, width - 1, 1, Color(202, 70, 205, 255), Color(201, 227, 58, 255), GRADIENT_HORIZONTAL);

    int lag = fakelag::get().max_choke;
    int body_yaw = antiaim::get().desync_angle;

    int final_yaw = body_yaw;

    if (body_yaw < 0)
        final_yaw = 0;

    render::get().text(fonts[NAME], x + 56, y + 18, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Fake lag");
    render::get().rect_filled(x + 130, y + 16, 100, 5, Color(50, 50, 50, 255));
    render::get().rect_filled(x + 130, y + 16, lag * 6.25, 5, Color(236, 236, 236, 255));
    render::get().text(fonts[NAME], x + 130 + lag * 6.25, y + 19, Color(255, 255, 255, 255), HFONT_CENTERED_Y, std::to_string(lag).c_str());

    render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Body yaw");
    render::get().rect_filled(x + 130, y + 30, 100, 5, Color(50, 50, 50, 255));
    render::get().rect_filled(x + 130, y + 30, final_yaw * 0.55, 5, Color(236, 236, 236, 255));
    render::get().text(fonts[NAME], x + 130 + final_yaw * 0.55, y + 34, Color(255, 255, 255, 255), HFONT_CENTERED_Y, std::to_string(body_yaw).c_str());

    y += 14;

    if (misc::get().double_tap_enabled)
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Double tap");
        render::get().text(fonts[NAME], x + 176, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[Offensive]");
        y += 14;
    }

    if (key_binds::get().get_key_bind_state(20))
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Duck peek assist");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }

    if (misc::get().hide_shots_enabled)
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "On shot antiaim");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }

    if (key_binds::get().get_key_bind_state(3))
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Force body aim");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }

    if (key_binds::get().get_key_bind_state(18))
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Quick peek");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }
}
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
gamesense indicators

ss
Посмотреть вложение 190432

C++:
Expand Collapse Copy
void  misc::indicators()
{
    if (!g_cfg.misc.indicators)
        return;
  
    auto x = g_cfg.misc.indicator_x;
    auto y = g_cfg.misc.indicator_y;

    auto width = 197;
    auto height = 47;

    render::get().rect_filled(x + 44, y - 1, width + 2, height + 2, Color(0, 0, 0, 255));
    render::get().rect_filled(x + 45, y, width, height, Color(34, 34, 34, 255));
    render::get().rect_filled(x + 50, y + 7, width - 11, height - 12, Color(0, 0, 0, 255));

    render::get().rect(x + 50, y + 5, width - 10, height - 9, Color(56, 56, 56, 255));
    render::get().rect(x + 45, y, width, height, Color(56, 56, 56, 255));

    width = 93;

    render::get().gradient(x + 51, y + 6, width - 1, 1, Color(59, 175, 222, 255), Color(202, 70, 205, 255), GRADIENT_HORIZONTAL);
    render::get().gradient(x + 51 + width, y + 6, width - 1, 1, Color(202, 70, 205, 255), Color(201, 227, 58, 255), GRADIENT_HORIZONTAL);

    int lag = fakelag::get().max_choke;
    int body_yaw = antiaim::get().desync_angle;

    int final_yaw = body_yaw;

    if (body_yaw < 0)
        final_yaw = 0;

    render::get().text(fonts[NAME], x + 56, y + 18, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Fake lag");
    render::get().rect_filled(x + 130, y + 16, 100, 5, Color(50, 50, 50, 255));
    render::get().rect_filled(x + 130, y + 16, lag * 6.25, 5, Color(236, 236, 236, 255));
    render::get().text(fonts[NAME], x + 130 + lag * 6.25, y + 19, Color(255, 255, 255, 255), HFONT_CENTERED_Y, std::to_string(lag).c_str());

    render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Body yaw");
    render::get().rect_filled(x + 130, y + 30, 100, 5, Color(50, 50, 50, 255));
    render::get().rect_filled(x + 130, y + 30, final_yaw * 0.55, 5, Color(236, 236, 236, 255));
    render::get().text(fonts[NAME], x + 130 + final_yaw * 0.55, y + 34, Color(255, 255, 255, 255), HFONT_CENTERED_Y, std::to_string(body_yaw).c_str());

    y += 14;

    if (misc::get().double_tap_enabled)
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Double tap");
        render::get().text(fonts[NAME], x + 176, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[Offensive]");
        y += 14;
    }

    if (key_binds::get().get_key_bind_state(20))
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Duck peek assist");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }

    if (misc::get().hide_shots_enabled)
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "On shot antiaim");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }

    if (key_binds::get().get_key_bind_state(3))
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Force body aim");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }

    if (key_binds::get().get_key_bind_state(18))
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Quick peek");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }
}
было
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
gamesense indicators

ss
Посмотреть вложение 190432

C++:
Expand Collapse Copy
void  misc::indicators()
{
    if (!g_cfg.misc.indicators)
        return;
  
    auto x = g_cfg.misc.indicator_x;
    auto y = g_cfg.misc.indicator_y;

    auto width = 197;
    auto height = 47;

    render::get().rect_filled(x + 44, y - 1, width + 2, height + 2, Color(0, 0, 0, 255));
    render::get().rect_filled(x + 45, y, width, height, Color(34, 34, 34, 255));
    render::get().rect_filled(x + 50, y + 7, width - 11, height - 12, Color(0, 0, 0, 255));

    render::get().rect(x + 50, y + 5, width - 10, height - 9, Color(56, 56, 56, 255));
    render::get().rect(x + 45, y, width, height, Color(56, 56, 56, 255));

    width = 93;

    render::get().gradient(x + 51, y + 6, width - 1, 1, Color(59, 175, 222, 255), Color(202, 70, 205, 255), GRADIENT_HORIZONTAL);
    render::get().gradient(x + 51 + width, y + 6, width - 1, 1, Color(202, 70, 205, 255), Color(201, 227, 58, 255), GRADIENT_HORIZONTAL);

    int lag = fakelag::get().max_choke;
    int body_yaw = antiaim::get().desync_angle;

    int final_yaw = body_yaw;

    if (body_yaw < 0)
        final_yaw = 0;

    render::get().text(fonts[NAME], x + 56, y + 18, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Fake lag");
    render::get().rect_filled(x + 130, y + 16, 100, 5, Color(50, 50, 50, 255));
    render::get().rect_filled(x + 130, y + 16, lag * 6.25, 5, Color(236, 236, 236, 255));
    render::get().text(fonts[NAME], x + 130 + lag * 6.25, y + 19, Color(255, 255, 255, 255), HFONT_CENTERED_Y, std::to_string(lag).c_str());

    render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Body yaw");
    render::get().rect_filled(x + 130, y + 30, 100, 5, Color(50, 50, 50, 255));
    render::get().rect_filled(x + 130, y + 30, final_yaw * 0.55, 5, Color(236, 236, 236, 255));
    render::get().text(fonts[NAME], x + 130 + final_yaw * 0.55, y + 34, Color(255, 255, 255, 255), HFONT_CENTERED_Y, std::to_string(body_yaw).c_str());

    y += 14;

    if (misc::get().double_tap_enabled)
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Double tap");
        render::get().text(fonts[NAME], x + 176, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[Offensive]");
        y += 14;
    }

    if (key_binds::get().get_key_bind_state(20))
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Duck peek assist");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }

    if (misc::get().hide_shots_enabled)
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "On shot antiaim");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }

    if (key_binds::get().get_key_bind_state(3))
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Force body aim");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }

    if (key_binds::get().get_key_bind_state(18))
    {
        height += 14;
        render::get().text(fonts[NAME], x + 56, y + 32, Color(255, 255, 255, 255), HFONT_CENTERED_Y, "Quick peek");
        render::get().text(fonts[NAME], x + 209, y + 32, Color(199, 234, 70, 255), HFONT_CENTERED_Y, "[On]");
        y += 14;
    }
}
воу воу полегче с kod stile
 
Назад
Сверху Снизу