Исходник Onetap v3 watermark

$ underrow $
Забаненный
Статус
Оффлайн
Регистрация
9 Ноя 2018
Сообщения
226
Реакции[?]
297
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
my discord : Dutu#5071

C++:
void ESP::WaterMark()
{
    if (SETTINGS::settings.watermark)
    {
        char path[MAX_PATH], *name = NULL;
        GetEnvironmentVariable((LPCTSTR)"USERPROFILE", (LPSTR)path, (DWORD)MAX_PATH);
        name = &path[std::strlen(path) - 1];
        for (; *name != '\\'; --name);
        ++name;

        //raimbow flex code
        static float raimbow;
        raimbow += 0.0005;

        if (raimbow > 1.f)
            raimbow = 0.f;
        Color line = Color::FromHSB(raimbow, 1.f, 1.f);


        static int fps, old_tick_count;
        if ((g_pGlobalVars->tickcount - old_tick_count) > 50) {

            fps = static_cast<int>(1.f / g_pGlobalVars->frametime);

            old_tick_count = g_pGlobalVars->tickcount;

        }
        int screen_x, screen_y;
        g_pEngine->GetScreenSize(screen_x, screen_y);
        static float bar_width = 226.8;
        std::stringstream ss;
        auto net_channel = g_pEngine->GetNetChannelInfo();
        std::string incoming = g::pLocalEntity ? std::to_string((int)(net_channel->GetLatency(FLOW_INCOMING) * 1000)) : "0";
        ss << "deathrow [debug] | " << name << " | " << "incoming: " << incoming.c_str() << "ms" << " | fps: " << fps << " | " << currentDateTime().c_str() << "";
        int x, y, w, h;
        RECT textsize = g_pSurface->GetTextSizeRect(g::ESP_FONT, ss.str().c_str());

        g_pSurface->FilledRect(screen_x - (textsize.right + 25), 6, textsize.right + 20, 18, Color(0, 0, 0, 155));
        g_pSurface->FilledRect(screen_x - (textsize.right + 25), 6, textsize.right + 20, 2, Color(SETTINGS::settings.menu_color[0] * 255, SETTINGS::settings.menu_color[1] * 255, SETTINGS::settings.menu_color[2] * 255));
        if (SETTINGS::settings.r_accent)
        {
            g_pSurface->FilledRect(screen_x - (textsize.right + 25), 6, textsize.right + 20, 2, line);
        }

        g_pSurface->DrawT(screen_x - (textsize.right + 10), 9, Color(255, 255, 255), g::ESP_FONT, false, ss.str().c_str());
    }


    


}
 

Вложения

kira yoshikage
Пользователь
Статус
Оффлайн
Регистрация
21 Янв 2020
Сообщения
887
Реакции[?]
115
Поинты[?]
2K
my discord : Dutu#5071

C++:
void ESP::WaterMark()
{
    if (SETTINGS::settings.watermark)
    {
        char path[MAX_PATH], *name = NULL;
        GetEnvironmentVariable((LPCTSTR)"USERPROFILE", (LPSTR)path, (DWORD)MAX_PATH);
        name = &path[std::strlen(path) - 1];
        for (; *name != '\\'; --name);
        ++name;

        //raimbow flex code
        static float raimbow;
        raimbow += 0.0005;

        if (raimbow > 1.f)
            raimbow = 0.f;
        Color line = Color::FromHSB(raimbow, 1.f, 1.f);


        static int fps, old_tick_count;
        if ((g_pGlobalVars->tickcount - old_tick_count) > 50) {

            fps = static_cast<int>(1.f / g_pGlobalVars->frametime);

            old_tick_count = g_pGlobalVars->tickcount;

        }
        int screen_x, screen_y;
        g_pEngine->GetScreenSize(screen_x, screen_y);
        static float bar_width = 226.8;
        std::stringstream ss;
        auto net_channel = g_pEngine->GetNetChannelInfo();
        std::string incoming = g::pLocalEntity ? std::to_string((int)(net_channel->GetLatency(FLOW_INCOMING) * 1000)) : "0";
        ss << "deathrow [debug] | " << name << " | " << "incoming: " << incoming.c_str() << "ms" << " | fps: " << fps << " | " << currentDateTime().c_str() << "";
        int x, y, w, h;
        RECT textsize = g_pSurface->GetTextSizeRect(g::ESP_FONT, ss.str().c_str());

        g_pSurface->FilledRect(screen_x - (textsize.right + 25), 6, textsize.right + 20, 18, Color(0, 0, 0, 155));
        g_pSurface->FilledRect(screen_x - (textsize.right + 25), 6, textsize.right + 20, 2, Color(SETTINGS::settings.menu_color[0] * 255, SETTINGS::settings.menu_color[1] * 255, SETTINGS::settings.menu_color[2] * 255));
        if (SETTINGS::settings.r_accent)
        {
            g_pSurface->FilledRect(screen_x - (textsize.right + 25), 6, textsize.right + 20, 2, line);
        }

        g_pSurface->DrawT(screen_x - (textsize.right + 10), 9, Color(255, 255, 255), g::ESP_FONT, false, ss.str().c_str());
    }


   


}
это блять так плохо
 
Trap
Забаненный
Статус
Оффлайн
Регистрация
11 Янв 2019
Сообщения
152
Реакции[?]
30
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
под ху0 дайте,а то я даун ...
 
Trap
Забаненный
Статус
Оффлайн
Регистрация
11 Янв 2019
Сообщения
152
Реакции[?]
30
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Сверху Снизу