Advertisement
Guest User

Untitled

a guest
Mar 13th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.63 KB | None | 0 0
  1. {
  2. style.WindowPadding = ImVec2(8, 8);
  3. style.ItemSpacing = ImVec2(8, 4);
  4. ImGui::SetNextWindowPosCenter(ImGuiSetCond_Appearing);
  5. ImGui::SetNextWindowSize(ImVec2(840, 500));
  6. if (ImGui::Begin("Legitbot", &g_Options.Menu.Opened, ImVec2(840, 500), 1.f, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_ShowBorders))
  7. {
  8. if (ImGui::Button("<-- Back")) g_Options.Menu.iTab = 0;
  9. ImGui::SameLine();
  10.  
  11. ImGui::Text("- Legitbot");
  12. ImGui::SameLine();
  13. ImGui::Checkbox(XorStr("Enable"), &g_Options.Legitbot.MainSwitch);
  14. ImGui::BeginChild("first child", ImVec2(200, 420), true);
  15. {
  16. ImGui::Text("Rifles");
  17. ImGui::PushItemWidth(184);
  18. ImGui::Hotkey(XorStr("Key##0"), &g_Options.Legitbot.MainKey);
  19. //ImGui::Combo(("Key##0"), &menu.Legitbot.MainKey, keyNames, ARRAYSIZE(keyNames));
  20. //ImGui::Combo(XorStr("Hitbox"), &g_Options.Legitbot.hitboxrifle, aimBones, ARRAYSIZE(aimBones));
  21. ImGui::SliderFloat(XorStr("Smooth##0"), &g_Options.Legitbot.MainSmooth, 1.00f, 100.00f, "%.2f");
  22. ImGui::SliderFloat(XorStr("FOV##0"), &g_Options.Legitbot.Mainfov, 0.00f, 30.00f, "%.2f");
  23. ImGui::SliderFloat(XorStr("Min RCS##0"), &g_Options.Legitbot.main_recoil_min, 1.00f, 100.00f, "%.2f");
  24. ImGui::SliderFloat(XorStr("Max RCS##0"), &g_Options.Legitbot.main_recoil_max, 1.00f, 100.00f, "%.2f");
  25. ImGui::Separator();
  26. ImGui::Checkbox(XorStr("Legit Backtrack"), &g_Options.Legitbot.backtrack);
  27. ImGui::SliderFloat(XorStr("Ticks: "), &g_Options.Legitbot.backtrackTicks, 0, 12, "%1.f");
  28. }ImGui::EndChild();
  29. ImGui::SameLine();
  30.  
  31. ImGui::BeginChild("second child", ImVec2(200, 420), true);
  32. {
  33. ImGui::Text("Pistols");
  34. ImGui::PushItemWidth(184);
  35. ImGui::Hotkey(XorStr("Key##1"), &g_Options.Legitbot.PistolKey);
  36. //ImGui::Combo(("Key##1"), &menu.Legitbot.PistolKey, keyNames, ARRAYSIZE(keyNames));
  37. //ImGui::Combo(XorStr("Hitbox"), &g_Options.Legitbot.hitboxpistol, aimBones, ARRAYSIZE(aimBones));
  38. ImGui::SliderFloat(XorStr("Smooth##1"), &g_Options.Legitbot.PistolSmooth, 1.00f, 100.00f, "%.2f");
  39. ImGui::SliderFloat(XorStr("FOV##1"), &g_Options.Legitbot.Pistolfov, 0.00f, 30.00f, "%.2f");
  40. ImGui::SliderFloat(XorStr("Min RCS##1"), &g_Options.Legitbot.pistol_recoil_min, 1.00f, 100.00f, "%.2f");
  41. ImGui::SliderFloat(XorStr("Max RCS##1"), &g_Options.Legitbot.pistol_recoil_max, 1.00f, 100.00f, "%.2f");
  42. }ImGui::EndChild();
  43. ImGui::SameLine();
  44.  
  45. ImGui::BeginChild("third child", ImVec2(200, 420), true);
  46. {
  47. ImGui::Text("Snipers");
  48. ImGui::PushItemWidth(184);
  49. ImGui::Hotkey(XorStr("Key##2"), &g_Options.Legitbot.SniperKey);
  50. //ImGui::Combo(("Key##2"), &menu.Legitbot.SniperKey, keyNames, ARRAYSIZE(keyNames));
  51. //ImGui::Combo(XorStr("Hitbox"), &g_Options.Legitbot.hitboxsniper, aimBones, ARRAYSIZE(aimBones));
  52. ImGui::SliderFloat(XorStr("Smooth##2"), &g_Options.Legitbot.SniperSmooth, 1.00f, 100.00f, "%.2f");
  53. ImGui::SliderFloat(XorStr("FOV##2"), &g_Options.Legitbot.Sniperfov, 0.00f, 30.00f, "%.2f");
  54. ImGui::SliderFloat(XorStr("Min RCS##2"), &g_Options.Legitbot.sniper_recoil_min, 1.00f, 100.00f, "%.2f");
  55. ImGui::SliderFloat(XorStr("Max RCS##2"), &g_Options.Legitbot.sniper_recoil_max, 1.00f, 100.00f, "%.2f");
  56. }ImGui::EndChild();
  57. ImGui::SameLine();
  58.  
  59. ImGui::BeginChild("fourth child", ImVec2(200, 420), true);
  60. {
  61. ImGui::Text("Triggerbot");
  62. //ImGui::Separator();
  63. ImGui::PushItemWidth(184);
  64. ImGui::Checkbox(XorStr("Enable Triggerbot"), &g_Options.Legitbot.Triggerbot.Enabled);
  65. //ImGui::SliderFloat(XorStr("Delay"), &g_Options.Legitbot.Triggerbot.Delay, 1.f, 150.f, "%.0f");
  66. ImGui::Hotkey(XorStr("Key##3"), &g_Options.Legitbot.Triggerbot.Key);
  67. //ImGui::Combo(("Triggerbot key"), &menu.Legitbot.Triggerbot.Key, keyNames, ARRAYSIZE(keyNames));
  68. ImGui::SliderFloat(XorStr("Hitchance"), &g_Options.Legitbot.Triggerbot.hitchance, 1.f, 100.f, "%.0f");
  69.  
  70. ImGui::Text(XorStr("Filter"));
  71.  
  72. ImGui::BeginChild(XorStr("Filter"), ImVec2(ImGui::GetWindowContentRegionWidth() * 0.5f, 21 * 5));
  73. {
  74. ImGui::Selectable(XorStr(" Head"), &g_Options.Legitbot.Triggerbot.Filter.Head);
  75. ImGui::Selectable(XorStr(" Arms"), &g_Options.Legitbot.Triggerbot.Filter.Arms);
  76. ImGui::Selectable(XorStr(" Chest"), &g_Options.Legitbot.Triggerbot.Filter.Chest);
  77. ImGui::Selectable(XorStr(" Stomach"), &g_Options.Legitbot.Triggerbot.Filter.Stomach);
  78. ImGui::Selectable(XorStr(" Legs"), &g_Options.Legitbot.Triggerbot.Filter.Legs);
  79. }ImGui::EndChild();
  80. }ImGui::EndChild();
  81. }ImGui::End();
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement