Делал для своего чита, теперь сливаю) Screenshot void watermark() { if (g_Options.misc_watermark) { int width, height; g_EngineClient->GetScreenSize(width, height); frameRate = 0.9f * frameRate + (1.0 - 0.9f) * g_GlobalVars->absoluteframetime; std::stringstream ss; auto net_channel = g_EngineClient->GetNetChannelInfo(); auto latency = (net_channel && g_EngineClient->IsInGame() && !g_EngineClient->IsPlayingDemo()) ? net_channel->GetAvgLatency(FLOW_OUTGOING) : 0.0f; static auto cl_updaterate = g_CVar->FindVar("cl_updaterate"); latency -= 0.5f / cl_updaterate->GetFloat(); auto ping = std::to_string((int)(std::fmax(0.0f, latency) * 1000.0f)); Render::Get().RenderBoxFilled(7, 6, 250, 30, Color(0.18f, 0.24f, 0.35f, 0.75f)); // задний фон Render::Get().RenderBoxFilled(7, 6, 250, 2, Color(0.22f, 0.50f, 0.94f, 0.80f)); //полоска вотермарк ss << "POPUGSENSE | " << "fps:" << static_cast<int>(1.f / frameRate) << " | ping: " << ping.c_str() << "ms"; Render::Get().RenderText(ss.str(), ImVec2(17, 12), 13.f, Color(1.00f, 1.00f, 1.00f, 1.00f), false, false); // текст } }