VALORANT Havalı Menü Kodlarım

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Copy-Paste menü checkbox özelliştirilmiştir onu değiştirmek için en son kodu imgui_widgets.cpp ye de ki kodla değiştirin.
lbdjy09.png
66y39qz.png

sqnvtkm.png
Kod:
 ImGui::Begin(_("R7flex"), NULL, ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoScrollbar);
                ImGui::SetWindowSize(_("R7flex"), ImVec2(647.f, 439.f));
                static int switchTabs = 0;
                ImGui::SetCursorPos({ 10.f,30.f });

                ImGui::BeginChild("child0", { 175.f,398.f }, true);

                ImGui::SetCursorPos({ 18.f,19.f });
                if (ImGui::Button(_("Aimbot"), { 137.f,47.f }))
                {
                    switchTabs = 0;
                }
                ImGui::SetCursorPos({ 18.f,86.f });
                if (ImGui::Button(_("Visual"), { 137.f,47.f }))
                {
                    switchTabs = 1;
                }
                ImGui::SetCursorPos({ 18.f,155.f });
                if (ImGui::Button(_("Misc"), { 137.f,47.f }))
                {
                    switchTabs = 2;
                }
                ImGui::SetCursorPos({ 35.f,372.f });
                ImGui::PushItemWidth(98.000000);
                ImGui::Text(_("Made By R7flex"));
                ImGui::PopItemWidth();

                ImGui::SetCursorPos({ 17.f,221.f });
                ImGui::PushItemWidth(140.000000);
                ImGui::Text(_("We dont offer cheats"));
                ImGui::PopItemWidth();

                ImGui::SetCursorPos({ 7.f,245.f });
                ImGui::PushItemWidth(161.000000);
                ImGui::Text(_("We dont sell any cheats"));
                ImGui::PopItemWidth();


                ImGui::EndChild();

                switch (switchTabs) {
                case 0:

                    ImGui::SetCursorPos({ 194.f,30.f });

                    ImGui::BeginChild("child1", { 440.f,398.f }, true);

                    ImGui::SetCursorPos({ 13.f,13.f });
                    ImGui::Checkbox(_("Aimbot Enable"), &aimbot);
                    ImGui::SetCursorPos({ 13.f,44.f });
                    ImGui::PushItemWidth(346.000000);
                    ImGui::SliderFloat(_("Smooth"), &flSmooth, 1, 100);
                    ImGui::PopItemWidth();

                    ImGui::SetCursorPos({ 13.f,74.f });
                    ImGui::PushItemWidth(346.000000);
                    ImGui::SliderFloat(_("Fov   "), &aimfov2, 0, 100);
                    ImGui::PopItemWidth();

                    ImGui::SetCursorPos({ 13.f,110.f });
                    ImGui::Combo(_("Hitbox"), &selectedhit, hitbox, IM_ARRAYSIZE(hitbox));
                    ImGui::SetCursorPos({ 13.f,145.f });
                    ImGui::Checkbox(_("Visible Check"), &visiblecheck);
                    ImGui::SetCursorPos({ 13.f,179.f });
                    ImGui::Checkbox(_("Teammate Aimbot"), &takimavur);

                    ImGui::EndChild();

                    ImGui::SetCursorPos({ 194.f,30.f });

                    ImGui::BeginChild("child1", { 440.f,398.f }, true);

                    ImGui::SetCursorPos({ 13.f,213.f });
                    ImGui::Checkbox(_("Draw FOV Circle"), &drawfov);
                    ImGui::SetCursorPos({ 13.f,245.f });
                    HotkeyButton(aimkey, ChangeKey, keystatus);
                  
                    break;
                case 1:
                    /*ImGui::Checkbox("gorus kapa/ac", &g_esp_enabled);
                        ImGui::Checkbox("kafa cemberi", &g_headesp);
                        ImGui::Checkbox("kemik cizgileri", &g_boneesp);
                        ImGui::Checkbox("kutu cizgi", &g_boxesp);
                        ImGui::Checkbox("gorus cizgileri", &lines);
                        ImGui::Checkbox("uzaklik", &health2distance);
                        ImGui::Checkbox("can bari", &healthbar);*/
                    ImGui::SetCursorPos({ 194.f,30.f });

                    ImGui::BeginChild("child1", { 440.f,398.f }, true);

                    ImGui::SetCursorPos({ 13.f,13.f });
                    ImGui::Checkbox(_("ESP Enable"), &g_esp_enabled);
                    ImGui::SetCursorPos({ 13.f,44.f });
                    ImGui::PushItemWidth(346.000000);
                    ImGui::Checkbox(_("Head Circle"), &g_headesp);
                    ImGui::PopItemWidth();

                    ImGui::SetCursorPos({ 13.f,74.f });
                    ImGui::PushItemWidth(346.000000);
                    ImGui::Checkbox(_("Bone Lines"), &g_boneesp);
                    ImGui::PopItemWidth();

                    ImGui::SetCursorPos({ 13.f,110.f });
                    ImGui::Checkbox(_("Box ESP"), &g_boxesp);
                    ImGui::SetCursorPos({ 13.f,145.f });
                    ImGui::Checkbox(_("Snaplines"), &lines);
                    ImGui::SetCursorPos({ 13.f,179.f });
                    ImGui::Checkbox(_("Distance"), &health2distance);

                    ImGui::EndChild();

                    ImGui::SetCursorPos({ 194.f,30.f });

                    ImGui::BeginChild("child1", { 440.f,398.f }, true);

                    ImGui::SetCursorPos({ 13.f,213.f });
                    ImGui::Checkbox(_("Healthbar"), &healthbar);
                    ImGui::SetCursorPos({ 13.f,245.f });
                    break;
                case 2:
                    ImGui::SetCursorPos({ 194.f,30.f });

                    ImGui::BeginChild("child1", { 440.f,398.f }, true);

                    ImGui::SetCursorPos({ 13.f,13.f });
                    if (ImGui::Button(_("Teamswapper")))
                    {
//censored
                    }
                    ImGui::SetCursorPos({ 13.f,44.f });
                    ImGui::PushItemWidth(346.000000);
                    ImGui::PopItemWidth();

                    ImGui::SetCursorPos({ 13.f,74.f });
                    ImGui::PushItemWidth(346.000000);
                    ImGui::PopItemWidth();

                    ImGui::SetCursorPos({ 13.f,110.f });
                    ImGui::SetCursorPos({ 13.f,145.f });
                    ImGui::SetCursorPos({ 13.f,179.f });

                    ImGui::EndChild();

                    ImGui::SetCursorPos({ 194.f,30.f });

                    ImGui::BeginChild("child1", { 440.f,398.f }, true);

                    ImGui::SetCursorPos({ 13.f,213.f });
 
                    ImGui::SetCursorPos({ 13.f,245.f });
                    break;
                }
                ImGui::End();
Kod:
bool ImGui::Checkbox(const char* label, bool* v)
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return false;

    ImGuiContext& g = *GImGui;
    const ImGuiStyle& style = g.Style;
    const ImGuiID id = window->GetID(label);
    const ImVec2 label_size = CalcTextSize(label, NULL, true);

    const ImRect check_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(label_size.y + style.FramePadding.y * 2, label_size.y + style.FramePadding.y * 2));
    ItemSize(check_bb, style.FramePadding.y);

    ImRect total_bb = check_bb;
    if (label_size.x > 0)
        SameLine(0, style.ItemInnerSpacing.x);
    const ImRect text_bb(window->DC.CursorPos + ImVec2(0, style.FramePadding.y), window->DC.CursorPos + ImVec2(0, style.FramePadding.y) + label_size);
    if (label_size.x > 0)
    {
        ItemSize(ImVec2(text_bb.GetWidth(), check_bb.GetHeight()), style.FramePadding.y);
        total_bb = ImRect(ImMin(check_bb.Min, text_bb.Min), ImMax(check_bb.Max, text_bb.Max));
    }

    if (!ItemAdd(total_bb, id))
        return false;

    bool hovered, held;
    bool pressed = ButtonBehavior(total_bb, id, &hovered, &held);
    if (pressed)
        *v = !(*v);

    RenderFrame(check_bb.Min, check_bb.Max, GetColorU32((held && hovered) ? ImGuiCol_FrameBgActive : hovered ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg), true, style.FrameRounding);
    if (*v)
    {
        const float check_sz = ImMin(check_bb.GetWidth(), check_bb.GetHeight());
        const float pad = ImMax(1.0f, (float)(int)(check_sz / 6.0f));
        window->DrawList->AddRectFilled(check_bb.Min + ImVec2(pad, pad), check_bb.Max - ImVec2(pad, pad), GetColorU32(ImGuiCol_CheckMark), style.FrameRounding);
    }
    if (label_size.x > 0.0f)
        RenderText(text_bb.GetTL(), label);

    return pressed;
}
güzel eyvallah hocam
 
kanka bendede bu var nasi yapicaz
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

  Şuanda konuyu görüntüleyen kullanıcılar


Üst Alt