From 9e13a0ae2e9d1533085ed2f23e12a421f42ecc01 Mon Sep 17 00:00:00 2001 From: 0TheSpy <5511c282@opayq.com> Date: Wed, 9 Nov 2022 09:47:18 +0300 Subject: [PATCH] Update Menu.hpp --- SpyCustom/Menu.hpp | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/SpyCustom/Menu.hpp b/SpyCustom/Menu.hpp index 57b503e..4c0aec2 100644 --- a/SpyCustom/Menu.hpp +++ b/SpyCustom/Menu.hpp @@ -1711,8 +1711,9 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice) ConVar* nameConvar = iff.g_pCVar->FindVar("name"); *(int*)((DWORD)&nameConvar->m_fnChangeCallbacks.m_Size) = 0; printfdbg("m_fnChangeCallbacks %x\n", (DWORD)&nameConvar->m_fnChangeCallbacks.m_Size); - nameConvar->SetValue(MakeControlChars(g_Options.playername.value->mystring)); + //nameConvar->SetValue(MakeControlChars(g_Options.playername.value->mystring)); SetName(MakeControlChars(g_Options.playername.value->mystring)); + *g_Options.changing_name = 2; } if (ImGui::Button("Apply##clan", ImVec2(70, 22))) @@ -1964,6 +1965,27 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice) ImGui::EndTabItem(); } + /* + if (ImGui::BeginTabItem("Movement")) + { + style->ChildBorderSize = 0; style->WindowPadding = ImVec2(20.0f, 5.0f); + if (ImGui::BeginChild("ChildTab", ImVec2(665, 350), true, ImGuiWindowFlags_NoScrollWithMouse | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_AlwaysUseWindowPadding)) { + style->ChildBorderSize = 1; style->WindowPadding = ImVec2(20.0f, 20.0f); + + ImGui::Columns(2, nullptr, false); + + ImGui::Checkbox("Bunny hop", g_Options.bunnyhop); + ImGui::Checkbox("Fast duck", g_Options.fastduck); + ImGui::Checkbox("Slide walk", g_Options.slidewalk); + + ImGui::NextColumn(); + + ImGui::EndChild(); + } + + ImGui::EndTabItem(); + } + */ if (ImGui::BeginTabItem("About")) { @@ -1982,7 +2004,7 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice) ImGui::Text(XorStr("0TheSpy")); ImGui::InvisibleButton("##inv", ImVec2(0, 0)); ImGui::TextColored(colwhite, XorStr("Check for updates")); - ImGui::Text(XorStr("github.com/0TheSpy/Seaside")); + ImGui::Text(XorStr("unknowncheats.me")); ImGui::InvisibleButton("##inv", ImVec2(0, 24)); if (ImGui::Button("Unhook", ImVec2(70, 22)))