Исходник Onetap v3 watermark

Пользователь
Статус
Оффлайн
Регистрация
8 Янв 2020
Сообщения
187
Реакции[?]
138
Поинты[?]
20K
otc3 watermark

ss
watermark ss.PNG

C++:
if (!g_cfg.menu.watermark)
    return;

auto width = 0, height = 0;
m_engine()->GetScreenSize(width, height);

std::string cheat_name = "onetap";
auto watermark = cheat_name + (" | ") + g_ctx.username + (" | ") + g_ctx.globals.time;

if (m_engine()->IsInGame())
{
    INetChannelInfo* nci = m_engine()->GetNetChannelInfo();

    if (nci)
    {
        const char* server = nci->GetAddress();

        if (!strcmp(server, ("loopback")))
            server = ("local server");
        else if (m_gamerules()->m_bIsValveDS())
            server = ("valve");

        auto tickrate = std::to_string((int)(1.0f / m_globals()->m_intervalpertick));
        watermark = cheat_name + (" | ") + g_ctx.username + (" | ") + server + (" | delay: ") + std::to_string(g_ctx.globals.ping) + ("ms | ") + tickrate + ("tick | ") + g_ctx.globals.time;
    }
}

auto box_width = render::get().text_width(fonts[NAME], watermark.c_str()) + 10;

render::get().gradient(width - 10 - box_width, 10, box_width / 2, 2, Color(208, 167, 121), Color(247, 229, 181), GRADIENT_HORIZONTAL);
render::get().gradient(width - 10 - box_width + (box_width / 2), 10, box_width / 2, 2, Color(247, 229, 181), Color(208, 167, 121), GRADIENT_HORIZONTAL);

render::get().rect_filled(width - 10 - box_width, 12, box_width, 14, Color(10, 10, 10, 150));
render::get().text(fonts[NAME], width - 10 - box_width + 5, 19, Color(255, 255, 255, 220), HFONT_CENTERED_Y, watermark.c_str());
 
шатап книга
Забаненный
Статус
Оффлайн
Регистрация
7 Мар 2020
Сообщения
485
Реакции[?]
119
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
otc3 watermark

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

C++:
if (!g_cfg.menu.watermark)
    return;

auto width = 0, height = 0;
m_engine()->GetScreenSize(width, height);

std::string cheat_name = "onetap";
auto watermark = cheat_name + (" | ") + g_ctx.username + (" | ") + g_ctx.globals.time;

if (m_engine()->IsInGame())
{
    INetChannelInfo* nci = m_engine()->GetNetChannelInfo();

    if (nci)
    {
        const char* server = nci->GetAddress();

        if (!strcmp(server, ("loopback")))
            server = ("local server");
        else if (m_gamerules()->m_bIsValveDS())
            server = ("valve");

        auto tickrate = std::to_string((int)(1.0f / m_globals()->m_intervalpertick));
        watermark = cheat_name + (" | ") + g_ctx.username + (" | ") + server + (" | delay: ") + std::to_string(g_ctx.globals.ping) + ("ms | ") + tickrate + ("tick | ") + g_ctx.globals.time;
    }
}

auto box_width = render::get().text_width(fonts[NAME], watermark.c_str()) + 10;

render::get().gradient(width - 10 - box_width, 10, box_width / 2, 2, Color(208, 167, 121), Color(247, 229, 181), GRADIENT_HORIZONTAL);
render::get().gradient(width - 10 - box_width + (box_width / 2), 10, box_width / 2, 2, Color(247, 229, 181), Color(208, 167, 121), GRADIENT_HORIZONTAL);

render::get().rect_filled(width - 10 - box_width, 12, box_width, 14, Color(10, 10, 10, 150));
render::get().text(fonts[NAME], width - 10 - box_width + 5, 19, Color(255, 255, 255, 220), HFONT_CENTERED_Y, watermark.c_str());
ну, почти
 
kill me
Забаненный
Статус
Оффлайн
Регистрация
18 Дек 2018
Сообщения
365
Реакции[?]
70
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
otc3 watermark

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

C++:
if (!g_cfg.menu.watermark)
    return;

auto width = 0, height = 0;
m_engine()->GetScreenSize(width, height);

std::string cheat_name = "onetap";
auto watermark = cheat_name + (" | ") + g_ctx.username + (" | ") + g_ctx.globals.time;

if (m_engine()->IsInGame())
{
    INetChannelInfo* nci = m_engine()->GetNetChannelInfo();

    if (nci)
    {
        const char* server = nci->GetAddress();

        if (!strcmp(server, ("loopback")))
            server = ("local server");
        else if (m_gamerules()->m_bIsValveDS())
            server = ("valve");

        auto tickrate = std::to_string((int)(1.0f / m_globals()->m_intervalpertick));
        watermark = cheat_name + (" | ") + g_ctx.username + (" | ") + server + (" | delay: ") + std::to_string(g_ctx.globals.ping) + ("ms | ") + tickrate + ("tick | ") + g_ctx.globals.time;
    }
}

auto box_width = render::get().text_width(fonts[NAME], watermark.c_str()) + 10;

render::get().gradient(width - 10 - box_width, 10, box_width / 2, 2, Color(208, 167, 121), Color(247, 229, 181), GRADIENT_HORIZONTAL);
render::get().gradient(width - 10 - box_width + (box_width / 2), 10, box_width / 2, 2, Color(247, 229, 181), Color(208, 167, 121), GRADIENT_HORIZONTAL);

render::get().rect_filled(width - 10 - box_width, 12, box_width, 14, Color(10, 10, 10, 150));
render::get().text(fonts[NAME], width - 10 - box_width + 5, 19, Color(255, 255, 255, 220), HFONT_CENTERED_Y, watermark.c_str());
а почему не имгуи?
 
Сверху Снизу