C++ Hitbox selection for LW pastes (with spoon feed)

Пользователь
Пользователь
Статус
Оффлайн
Регистрация
15 Апр 2020
Сообщения
236
Реакции
104
Hey, today ill show you on how to add Hitbox selection for Lw pastes.
SS:
1620693946726.png

GIF :
Пожалуйста, авторизуйтесь для просмотра ссылки.


1. got to Menu.h paste this into "class c_menu : public singleton<c_menu>"
C++:
Expand Collapse Copy
LPDIRECT3DTEXTURE9 CTmd1 = nullptr;
    LPDIRECT3DTEXTURE9 head = nullptr;
    LPDIRECT3DTEXTURE9 head1 = nullptr;

    LPDIRECT3DTEXTURE9 neck = nullptr;
    LPDIRECT3DTEXTURE9 neck1 = nullptr;
    LPDIRECT3DTEXTURE9 upchest = nullptr;
    LPDIRECT3DTEXTURE9 upchest1 = nullptr;
    LPDIRECT3DTEXTURE9 chest = nullptr;
    LPDIRECT3DTEXTURE9 chest1 = nullptr;
    LPDIRECT3DTEXTURE9 lowchest = nullptr;
    LPDIRECT3DTEXTURE9 lowchest1 = nullptr;
    LPDIRECT3DTEXTURE9 pel = nullptr;
    LPDIRECT3DTEXTURE9 pel1 = nullptr;

    LPDIRECT3DTEXTURE9 arms = nullptr;
    LPDIRECT3DTEXTURE9 arms1 = nullptr;
    LPDIRECT3DTEXTURE9 arms2 = nullptr;
    LPDIRECT3DTEXTURE9 arms3 = nullptr;

    LPDIRECT3DTEXTURE9 legs = nullptr;
    LPDIRECT3DTEXTURE9 legs1 = nullptr;
    LPDIRECT3DTEXTURE9 legs2 = nullptr;
    LPDIRECT3DTEXTURE9 legs3 = nullptr;

    LPDIRECT3DTEXTURE9 feet = nullptr;
    LPDIRECT3DTEXTURE9 feet1 = nullptr;
    LPDIRECT3DTEXTURE9 feet2 = nullptr;
    LPDIRECT3DTEXTURE9 feet3 = nullptr;
2. got to hooks.cpp paste this under " void GUI_Init(IDirect3DDevice9* pDevice)" and add this #include "..\model_esp_preview.h"

C++:
Expand Collapse Copy
        {
            if (c_menu::get().CTmd1 == nullptr)
                D3DXCreateTextureFromFileInMemoryEx(pDevice, &CTmd1, sizeof(CTmd1), 340, 555, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().CTmd1);
            //head
            {
                if (c_menu::get().head == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &heaed, sizeof(heaed), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().head);
                if (c_menu::get().head1 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &heaed1, sizeof(heaed1), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().head1);
            }
            //body
            {
                if (c_menu::get().neck == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &neeck1, sizeof(neeck1), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().neck);
                if (c_menu::get().neck1 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &neeck2, sizeof(neeck2), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().neck1);

                if (c_menu::get().upchest == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &upchest, sizeof(upchest), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().upchest);
                if (c_menu::get().upchest1 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &upchest1, sizeof(upchest1), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().upchest1);

                if (c_menu::get().chest == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &chest, sizeof(chest), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().chest);
                if (c_menu::get().chest1 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &chest1, sizeof(chest1), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().chest1);

                if (c_menu::get().lowchest == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &lowchest, sizeof(lowchest), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().lowchest);
                if (c_menu::get().lowchest1 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &lowchest1, sizeof(lowchest1), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().lowchest1);

                if (c_menu::get().pel == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &pel, sizeof(pel), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().pel);
                if (c_menu::get().pel1 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &pel1, sizeof(pel1), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().pel1);

            }
            //arms
            {
                //left arm
                if (c_menu::get().arms == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &armes, sizeof(armes), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().arms);
                if (c_menu::get().arms1 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &armes1, sizeof(armes1), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().arms1);
                //right arm
                if (c_menu::get().arms2 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &armes2, sizeof(armes2), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().arms2);
                if (c_menu::get().arms3 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &armes3, sizeof(armes3), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().arms3);
            }
            //legs
            {
                if (c_menu::get().legs == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &leges1, sizeof(leges1), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().legs);
                if (c_menu::get().legs1 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &leges2, sizeof(leges2), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().legs1);
                if (c_menu::get().legs2 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &leges3, sizeof(leges3), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().legs2);
                if (c_menu::get().legs3 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &leges4, sizeof(leges4), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().legs3);

                if (c_menu::get().feet == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &feet, sizeof(feet), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().feet);
                if (c_menu::get().feet1 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &feet1, sizeof(feet1), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().feet1);
                if (c_menu::get().feet2 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &feet2, sizeof(feet2), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().feet2);
                if (c_menu::get().feet3 == nullptr)
                    D3DXCreateTextureFromFileInMemoryEx(pDevice, &feet3, sizeof(feet3), 20, 20, D3DX_DEFAULT, D3DUSAGE_DYNAMIC, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &c_menu::get().feet3);

            }
       
       
        }
3. in menu.cpp add the checkbox and preview alos above your rage tab add " Bool hitbox1; ".
C++:
Expand Collapse Copy
    ImGui::Checkbox(crypt_str("Hitboxs"),&g_cfg.ragebot.hitbox1);
                            if (g_cfg.ragebot.hitbox1)
                            {


                                auto cur_window = ImGui::GetCurrentWindow();
                                ImVec2 w_pos = cur_window->Pos;
                                ImGuiStyle* Style = &ImGui::GetStyle();

                                Style->WindowRounding = 0;
                                Style->WindowBorderSize = 1;
                                Style->WindowMinSize = { 1,1 };
                                bool theme = true;
                                Style->Colors[ImGuiCol_WindowBg] = ImColor(19, 19, 19, 255);
                                Style->Colors[ImGuiCol_Button] = ImColor(0, 0, 0, 0);
                                Style->Colors[ImGuiCol_ButtonHovered] = ImColor(29, 125, 229, 0);
                                Style->Colors[ImGuiCol_ButtonActive] = ImColor(29, 125, 229, 0);


                                ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, 6.f);
                                ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, { 0,0 });
                                ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 0);

                                ImGui::SetNextWindowSize({ 340, 570 });

                                ImGui::Begin("##test", nullptr, ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoTitleBar);
                                {

                                    ImGui::Spacing();
                                    ImGui::PushFont(futura_large);
                                    ImGui::SetCursorPos({ 140, 5 });
                                    ImGui::TextColored(ImColor(14, 176, 255), "Hitboxes");
                                    ImGui::PopFont();
                                    ImGui::SetCursorPos({ 0, 10 });
                                    ImGui::Image(CTmd1, { 340,555 });

                                    //head
                                    {
                                        ImGui::SetCursorPos({ 164, 50 });
                                        if (g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(0))
                                        {
                                            if (ImGui::ImageButton((void*)head, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(0) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(0);
                                        }
                                        else
                                        {
                                            if (ImGui::ImageButton((void*)head1, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(0) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(0);
                                        }
                                    }
                                    //body
                                    {
                                        ImGui::SetCursorPos({ 164, 110 });
                                        if (g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(1))
                                        {
                                            if (ImGui::ImageButton((void*)upchest, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(1) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(1);
                                            }
                                        }
                                        else
                                        {
                                            if (ImGui::ImageButton((void*)upchest1, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(1) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(1);

                                            }
                                        }

                                        ImGui::SetCursorPos({ 164, 140 });
                                        if (g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(2))
                                        {
                                            if (ImGui::ImageButton((void*)chest, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(2) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(2);

                                            }
                                        }
                                        else
                                        {
                                            if (ImGui::ImageButton((void*)chest1, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(2) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(2);

                                            }
                                        }
                                        ImGui::SetCursorPos({ 164, 180 });
                                        if (g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(3))
                                        {
                                            if (ImGui::ImageButton((void*)lowchest, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {

                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(3) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(3);

                                            }
                                        }
                                        else
                                        {
                                            if (ImGui::ImageButton((void*)lowchest1, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {

                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(3) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(3);

                                            }
                                        }
                                        ImGui::SetCursorPos({ 164, 215 });
                                        if (g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(4))
                                        {
                                            if (ImGui::ImageButton((void*)neck, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {

                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(4) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(4);

                                            }
                                        }
                                        else
                                        {
                                            if (ImGui::ImageButton((void*)neck1, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {

                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(4) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(4);

                                            }
                                        }
                                        ImGui::SetCursorPos({ 164, 280 });
                                        if (g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(5))
                                        {
                                            if (ImGui::ImageButton((void*)pel, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {

                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(5) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(5);
                                            }
                                        }
                                        else
                                        {
                                            if (ImGui::ImageButton((void*)pel1, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {

                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(5) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(5);
                                            }
                                        }
                                    }

                                    //arms
                                    {
                                        ImGui::SetCursorPos({ 65, 200 });
                                        if (g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(6))
                                        {
                                            //left
                                            if (ImGui::ImageButton((void*)arms, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(6) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(6);

                                            ImGui::SetCursorPos({ 265, 200 });
                                            if (ImGui::ImageButton((void*)arms2, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(6) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(6);
                                        }
                                        else
                                        {
                                            //right
                                            if (ImGui::ImageButton((void*)arms1, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(6) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(6);
                                            ImGui::SetCursorPos({ 265, 200 });
                                            if (ImGui::ImageButton((void*)arms3, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(6) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(6);
                                        }
                                    }
                                    //legs
                                    {
                                        ImGui::SetCursorPos({ 135, 330 });
                                        if (g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(7))
                                        {
                                            if (ImGui::ImageButton((void*)legs, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(7) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(7);

                                            }
                                            ImGui::SetCursorPos({ 195, 330 });
                                            if (ImGui::ImageButton((void*)legs2, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(7) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(7);

                                            }
                                        }
                                        else
                                        {
                                            if (ImGui::ImageButton((void*)legs1, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(7) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(7);

                                            }
                                            ImGui::SetCursorPos({ 195, 330 });
                                            if (ImGui::ImageButton((void*)legs3, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {
                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(7) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(7);

                                            }
                                        }

                                        //feet
                                        ImGui::SetCursorPos({ 135, 480 });
                                        if (g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(8))
                                        {
                                            if (ImGui::ImageButton((void*)feet, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {

                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(8) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(8);
                                            }
                                            ImGui::SetCursorPos({ 195, 480 });
                                            if (ImGui::ImageButton((void*)feet2, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {

                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(8) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(8);
                                            }
                                        }
                                        else
                                        {
                                            if (ImGui::ImageButton((void*)feet1, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {


                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(8) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(8);
                                            }
                                            ImGui::SetCursorPos({ 195, 480 });
                                            if (ImGui::ImageButton((void*)feet3, ImVec2(20, 20), ImVec2(0, 0), ImVec2(1, 1), 0, ImVec4(0, 0, 0, 0)))
                                            {

                                                g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(8) = !g_cfg.ragebot.weapon[hooks::rage_weapon].hitboxes.at(8);
                                            }
                                        }
                                    }

                                }

                                ImGui::End();
                                ImGui::PopStyleVar(3);
                            }
after all that done add the .h file into your cheat folder
Пожалуйста, авторизуйтесь для просмотра ссылки.
Then build.
This is my 1st time posting things like this so if i missed or you have any problems pm on here and ill help you as much as i can
also while you here like this post if it was useful for your future pastes.
 
Последнее редактирование:
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Good
 
Последнее редактирование:
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Боже, это самый бредовый код который я только видел

Зачем рисовать чеки на хитбоксах КАРТИНКАМИ? Намного проще было бы сделать отдельный чек для этих дел (галочку и крестик отрисовать не проблема же ну) и на той же картинке модели расставить их через SetCursorPos...
 
Боже, это самый бредовый код который я только видел

Зачем рисовать чеки на хитбоксах КАРТИНКАМИ? Намного проще было бы сделать отдельный чек для этих дел (галочку и крестик отрисовать не проблема же ну) и на той же картинке модели расставить их через SetCursorPos...
y i did " PICTURES" its so ppl can do not just X and checkmarks, anyone can replays with what they want.
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Назад
Сверху Снизу