-
Автор темы
- #1
hey so i decided to make some cool watermarks and release them so here.
put in menu.h right under menu color
(in class ConfigTab)
then also put in menu.h the dropdown right under menu color
then go to Client::DrawHUD in client.cpp
and remove the current watermark / watermarks and replace it with this
ss (screenshots) -
(NOTE: the text looks kinda different bc my font is different then default supremacy, so whatever your menu font is, that will be the font instead of this)
- main
- clean (NOTE: there will be a line if you are using a normal supremacy)
- metamod (NOTE: there will be a line if you are using a normal supremacy)
(Now imgur links bc yougame only allows 3 image uploads per post)
put in menu.h right under menu color
Код:
Dropdown watermark;
then also put in menu.h the dropdown right under menu color
Код:
watermark.setup(XOR("watermark"), XOR("watermark"), { XOR("none"), XOR("main"), XOR("clean"), XOR("metamod"), XOR("skeet.dmp"), XOR("supremacy") });
RegisterElement(&watermark, 1);
and remove the current watermark / watermarks and replace it with this
Код:
if (g_menu.main.config.watermark.get() == 1) { //main
// get time.
time_t t = std::time(nullptr);
std::ostringstream time;
time << std::put_time(std::localtime(&t), ("%H:%M:%S"));
// get round trip time in milliseconds.
int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));
// get tickrate.
int rate = (int)std::round(1.f / g_csgo.m_globals->m_interval);
std::string text = tfm::format(XOR("*insert* [debug]| %s | ping: %ims | rate: %i | %s"), m_user, ms, rate, time.str().data()); //*insert* is where you can insert your cheat name or just supremacy!
render::FontSize_t size = render::hud.size(text);
// background.
render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, {39, 42, 74, 235 });
// text.
render::hud.string(m_width - 15, 10, { 255, 255, 255, 255 }, text, render::ALIGN_RIGHT);
}
else if (g_menu.main.config.watermark.get() == 2) { //clean
//get time.
time_t t = std::time(nullptr);
std::ostringstream time;
time << std::put_time(std::localtime(&t), XOR("%H:%M:%S"));
// get round trip time in milliseconds.
int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));
std::string text = tfm::format(XOR(" *insert*| %s | ping: %ims | %s"), m_user, ms,time.str().data()); //*insert* is where you can insert your cheat name or just supremacy!
render::FontSize_t size = render::hud.size(text);
// background.
render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, Color(0, 0, 0, 75));
render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, 1, (80, 77, 227));
// text.
render::hud.string(m_width - 15, 10, { 220, 220, 220, 250 }, text, render::ALIGN_RIGHT);
}
else if (g_menu.main.config.watermark.get() == 3) { //metamod
//get time.
time_t t = std::time(nullptr);
std::ostringstream time;
time << std::put_time(std::localtime(&t), XOR("%H:%M:%S"));
// get round trip time in milliseconds.
int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));
std::string text = tfm::format(XOR("*insert*| % s | ping: % ims | % s"), m_user, ms,time.str().data()); //*insert* is where you can insert your cheat name or just supremacy!
render::FontSize_t size = render::hud.size(text);
// background.
render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, Color(0, 0, 0, 240));
render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, 2, (80, 77, 227));
// text.
render::hud.string(m_width - 15, 10, { 255, 255, 255, 250 }, text, render::ALIGN_RIGHT);
}
else if (g_menu.main.config.watermark.get() == 4) { //skeet.dmp
// get time.
time_t t = std::time(nullptr);
std::ostringstream time;
time << std::put_time(std::localtime(&t), ("%H:%M:%S"));
// get round trip time in milliseconds.
int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));
// get tickrate.
int rate = (int)std::round(1.f / g_csgo.m_globals->m_interval);
std::string text = tfm::format(XOR("skeet.dmp [debug]| %s | ping: %ims | %s"), m_user, ms, rate, time.str().data());
render::FontSize_t size = render::hud.size(text);
// background.
render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, { 10, 10, 10, 210 });
// text.
render::hud.string(m_width - 15, 10, { 255, 255, 255, 255 }, text, render::ALIGN_RIGHT);
}
else if (g_menu.main.config.watermark.get() == 5) { //supremacy
// get time.
time_t t = std::time(nullptr);
std::ostringstream time;
time << std::put_time(std::localtime(&t), ("%H:%M:%S"));
// get round trip time in milliseconds.
int ms = std::max(0, (int)std::round(g_cl.m_latency * 1000.f));
// get tickrate.
int rate = (int)std::round(1.f / g_csgo.m_globals->m_interval);
std::string text = tfm::format(XOR("supremacy | rtt: %ims | rate: %i | %s"), ms, rate, time.str().data());
render::FontSize_t size = render::hud.size(text);
// background.
render::rect_filled(m_width - size.m_width - 20, 10, size.m_width + 10, size.m_height + 2, { 240, 110, 140, 130 });
// text.
render::hud.string(m_width - 15, 10, { 240, 160, 180, 250 }, text, render::ALIGN_RIGHT);
}
(NOTE: the text looks kinda different bc my font is different then default supremacy, so whatever your menu font is, that will be the font instead of this)
- main
- clean (NOTE: there will be a line if you are using a normal supremacy)
- metamod (NOTE: there will be a line if you are using a normal supremacy)
(Now imgur links bc yougame only allows 3 image uploads per post)
Пожалуйста, авторизуйтесь для просмотра ссылки.
- skeet.dmp
Пожалуйста, авторизуйтесь для просмотра ссылки.
- supremacy