void otheresp::indicators() { if (!g_ctx.local()->is_alive()) //-V807 return; if (!g_cfg.misc.keybinds) return; static int width, height; m_engine()->GetScreenSize(width, height); auto color = g_cfg.menu.menu_theme; int x{ 15 }; static int offset = 1; std::string text; // condition dt if (misc::get().double_tap_key) { text += crypt_str("Double Tap Enabled\n"); } // hs if (misc::get().hide_shots_key) { text += crypt_str("Hide Shots Enabled\n"); } // mindmg if (key_binds::get().get_key_bind_state(4 + g_ctx.globals.current_weapon)) { text += crypt_str("Min Damage Enabled\n"); } // baim if (key_binds::get().get_key_bind_state(22)) { text += crypt_str("Smart Baim Enabled\n"); } // resolver override if (key_binds::get().get_key_bind_state(24)) { text += crypt_str("Resolver Override Enabled\n"); } // thirdperson if (key_binds::get().get_key_bind_state(17)) { text += crypt_str("Thirdperson Enabled\n"); } // slowwalk if (key_binds::get().get_key_bind_state(21)) { text += crypt_str("Slowwalk Enabled\n"); } // fakeduck if (key_binds::get().get_key_bind_state(20)) { text += crypt_str("Fake Duck Enabled\n"); } // edgejump if (key_binds::get().get_key_bind_state(19)) { text += crypt_str("Edge Jump Enabled\n"); } // auto peek if (key_binds::get().get_key_bind_state(18)) { text += crypt_str("Auto Peek Enabled\n"); } // auto peek if (key_binds::get().get_key_bind_state(16)) { text += crypt_str("Desync Invert Enabled\n"); } ImGui::PushStyleColor(ImGuiCol_WindowBg, ImVec4(1.f, 1.f, 1.f, 0.0f)); DWORD flags = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse | ImGuiColumnsFlags_NoResize; ImGui::SetNextWindowSize(ImVec2(200, 30 + (15 * 11))); ImGui::Begin(crypt_str("Indicators"), nullptr, flags); ImGui::SetCursorPos(ImVec2(0, 0)); ImGui::BeginChild("Head", ImVec2(200, 20), false, ImGuiWindowFlags_NoBackground); ImGui::GetWindowDrawList()->AddRectFilled(ImGui::GetWindowPos(), ImVec2(ImGui::GetWindowPos().x + 200, ImGui::GetWindowPos().y + 20), ImColor(41, 46, 57, 255)); ImGui::SetCursorPos(ImVec2(100 - ImGui::CalcTextSize(crypt_str("Keybinds List")).x / 2, 10 - ImGui::CalcTextSize(crypt_str("Keybind List")).y / 2)); ImGui::Text(crypt_str("Keybind List")); ImGui::EndChild(); ImGui::SetCursorPos(ImVec2(10, 25)); ImGui::BeginChild(crypt_str("Body"), ImVec2(180, -1), false, ImGuiWindowFlags_NoBackground); ImGui::Text(text.c_str()); ImGui::EndChild(); ImGui::End(); ImGui::PopStyleColor(); }