$ underrow $
-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
C++:
void ESP::pula_mea()
{
if (!g_pEngine->IsInGame() || !g_pEngine->IsConnected() || !g::pLocalEntity)
return;
// not my comments
int screen_width, screen_height;
g_pEngine->GetScreenSize(screen_width, screen_height);
if (g_pEngine->IsConnected() && g_pEngine->IsInGame())
{
if (g::pLocalEntity)
{
auto NetChannel = g_pEngine->GetNetChannel();
if (!g::pLocalEntity->IsAlive())
return;
if (!g_Menu.Config.indicators)
return;
float delta = g::pLocalEntity->GetMaxDesyncDelta();
if (delta < 1)
delta = 1;
float desync = 58 / delta;
if (desync < 1)
desync = 1;
float width = 125 / desync;
std :: string text = "DESYNC:" + std :: to_string ((int) g :: pLocalEntity-> GetMaxDesyncDelta ());
g_pSurface-> DrawT (30 + 125/2, screen_height / 2 - 14, Color (255, 255, 255, 255), g :: smallest, true, text.c_str ());
g_pSurface-> FilledRect (25, screen_height / 2, 125, 20, Color (20, 20, 20, 15));
g_pSurface-> FilledRect (25 + 2, (screen_height / 2) + 2, width - 4, 20 - 4, Color (g_Menu.Config.gui_menu_accent [0] * 255, g_Menu.Config.gui_menu_accent [1] * 255, g_Menu .Config.gui_menu_accent [2] * 255, 255));
}
}
} [/ CODE]
Вложения
-
137 KB Просмотры: 1,209