Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- style.WindowPadding = ImVec2(8, 8);
- style.ItemSpacing = ImVec2(8, 4);
- ImGui::SetNextWindowPosCenter(ImGuiSetCond_Appearing);
- ImGui::SetNextWindowSize(ImVec2(840, 500));
- if (ImGui::Begin("Legitbot", &g_Options.Menu.Opened, ImVec2(840, 500), 1.f, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_ShowBorders))
- {
- if (ImGui::Button("<-- Back")) g_Options.Menu.iTab = 0;
- ImGui::SameLine();
- ImGui::Text("- Legitbot");
- ImGui::SameLine();
- ImGui::Checkbox(XorStr("Enable"), &g_Options.Legitbot.MainSwitch);
- ImGui::BeginChild("first child", ImVec2(200, 420), true);
- {
- ImGui::Text("Rifles");
- ImGui::PushItemWidth(184);
- ImGui::Hotkey(XorStr("Key##0"), &g_Options.Legitbot.MainKey);
- //ImGui::Combo(("Key##0"), &menu.Legitbot.MainKey, keyNames, ARRAYSIZE(keyNames));
- //ImGui::Combo(XorStr("Hitbox"), &g_Options.Legitbot.hitboxrifle, aimBones, ARRAYSIZE(aimBones));
- ImGui::SliderFloat(XorStr("Smooth##0"), &g_Options.Legitbot.MainSmooth, 1.00f, 100.00f, "%.2f");
- ImGui::SliderFloat(XorStr("FOV##0"), &g_Options.Legitbot.Mainfov, 0.00f, 30.00f, "%.2f");
- ImGui::SliderFloat(XorStr("Min RCS##0"), &g_Options.Legitbot.main_recoil_min, 1.00f, 100.00f, "%.2f");
- ImGui::SliderFloat(XorStr("Max RCS##0"), &g_Options.Legitbot.main_recoil_max, 1.00f, 100.00f, "%.2f");
- ImGui::Separator();
- ImGui::Checkbox(XorStr("Legit Backtrack"), &g_Options.Legitbot.backtrack);
- ImGui::SliderFloat(XorStr("Ticks: "), &g_Options.Legitbot.backtrackTicks, 0, 12, "%1.f");
- }ImGui::EndChild();
- ImGui::SameLine();
- ImGui::BeginChild("second child", ImVec2(200, 420), true);
- {
- ImGui::Text("Pistols");
- ImGui::PushItemWidth(184);
- ImGui::Hotkey(XorStr("Key##1"), &g_Options.Legitbot.PistolKey);
- //ImGui::Combo(("Key##1"), &menu.Legitbot.PistolKey, keyNames, ARRAYSIZE(keyNames));
- //ImGui::Combo(XorStr("Hitbox"), &g_Options.Legitbot.hitboxpistol, aimBones, ARRAYSIZE(aimBones));
- ImGui::SliderFloat(XorStr("Smooth##1"), &g_Options.Legitbot.PistolSmooth, 1.00f, 100.00f, "%.2f");
- ImGui::SliderFloat(XorStr("FOV##1"), &g_Options.Legitbot.Pistolfov, 0.00f, 30.00f, "%.2f");
- ImGui::SliderFloat(XorStr("Min RCS##1"), &g_Options.Legitbot.pistol_recoil_min, 1.00f, 100.00f, "%.2f");
- ImGui::SliderFloat(XorStr("Max RCS##1"), &g_Options.Legitbot.pistol_recoil_max, 1.00f, 100.00f, "%.2f");
- }ImGui::EndChild();
- ImGui::SameLine();
- ImGui::BeginChild("third child", ImVec2(200, 420), true);
- {
- ImGui::Text("Snipers");
- ImGui::PushItemWidth(184);
- ImGui::Hotkey(XorStr("Key##2"), &g_Options.Legitbot.SniperKey);
- //ImGui::Combo(("Key##2"), &menu.Legitbot.SniperKey, keyNames, ARRAYSIZE(keyNames));
- //ImGui::Combo(XorStr("Hitbox"), &g_Options.Legitbot.hitboxsniper, aimBones, ARRAYSIZE(aimBones));
- ImGui::SliderFloat(XorStr("Smooth##2"), &g_Options.Legitbot.SniperSmooth, 1.00f, 100.00f, "%.2f");
- ImGui::SliderFloat(XorStr("FOV##2"), &g_Options.Legitbot.Sniperfov, 0.00f, 30.00f, "%.2f");
- ImGui::SliderFloat(XorStr("Min RCS##2"), &g_Options.Legitbot.sniper_recoil_min, 1.00f, 100.00f, "%.2f");
- ImGui::SliderFloat(XorStr("Max RCS##2"), &g_Options.Legitbot.sniper_recoil_max, 1.00f, 100.00f, "%.2f");
- }ImGui::EndChild();
- ImGui::SameLine();
- ImGui::BeginChild("fourth child", ImVec2(200, 420), true);
- {
- ImGui::Text("Triggerbot");
- //ImGui::Separator();
- ImGui::PushItemWidth(184);
- ImGui::Checkbox(XorStr("Enable Triggerbot"), &g_Options.Legitbot.Triggerbot.Enabled);
- //ImGui::SliderFloat(XorStr("Delay"), &g_Options.Legitbot.Triggerbot.Delay, 1.f, 150.f, "%.0f");
- ImGui::Hotkey(XorStr("Key##3"), &g_Options.Legitbot.Triggerbot.Key);
- //ImGui::Combo(("Triggerbot key"), &menu.Legitbot.Triggerbot.Key, keyNames, ARRAYSIZE(keyNames));
- ImGui::SliderFloat(XorStr("Hitchance"), &g_Options.Legitbot.Triggerbot.hitchance, 1.f, 100.f, "%.0f");
- ImGui::Text(XorStr("Filter"));
- ImGui::BeginChild(XorStr("Filter"), ImVec2(ImGui::GetWindowContentRegionWidth() * 0.5f, 21 * 5));
- {
- ImGui::Selectable(XorStr(" Head"), &g_Options.Legitbot.Triggerbot.Filter.Head);
- ImGui::Selectable(XorStr(" Arms"), &g_Options.Legitbot.Triggerbot.Filter.Arms);
- ImGui::Selectable(XorStr(" Chest"), &g_Options.Legitbot.Triggerbot.Filter.Chest);
- ImGui::Selectable(XorStr(" Stomach"), &g_Options.Legitbot.Triggerbot.Filter.Stomach);
- ImGui::Selectable(XorStr(" Legs"), &g_Options.Legitbot.Triggerbot.Filter.Legs);
- }ImGui::EndChild();
- }ImGui::EndChild();
- }ImGui::End();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement