Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.30 KB | None | 0 0
  1. ImGui::Begin("Quadratec - Menu");
  2.  
  3. static int tabb = 0;
  4.  
  5.  
  6. {ImGui::SameLine();
  7. if (ImGui::Button("Visuals"))
  8. {
  9. tabb = 0;
  10. }
  11. ImGui::SameLine();
  12.  
  13. if (ImGui::Button("Accuracy"))
  14. {
  15. tabb = 1;
  16. }
  17. ImGui::SameLine();
  18. if (ImGui::Button("Miscellaneous"))
  19. {
  20. tabb = 2;
  21. }
  22.  
  23. }
  24. if (tabb == 0) {
  25.  
  26. static bool esp = false;
  27. static bool esp_icon = false;
  28. static bool name = false;
  29. static bool glow = false;
  30. static float glowpicker[4] = { 0.0f, 0.0f, 0.0f, 0.0f };
  31. static int sliderInt = 0;
  32.  
  33.  
  34.  
  35.  
  36.  
  37. //Cav ESP
  38. if (ImGui::Checkbox("Cav ESP", &esp)) {
  39. if (esp)
  40. {
  41.  
  42. std::cout << "[CAV ESP] Enabled " << std::endl;
  43. esp = true;
  44. rainbow_mutex.lock();
  45. rainbowSix.esp(esp);
  46. rainbow_mutex.unlock();
  47. }
  48. else
  49. {
  50.  
  51. std::cout << "[CAV ESP] Disabled " << std::endl;
  52. esp = false;
  53. rainbow_mutex.lock();
  54. rainbowSix.esp(esp);
  55. rainbow_mutex.unlock();
  56. }
  57. Sleep(250);
  58. }
  59. //Icon ESP
  60. if (ImGui::Checkbox("Icon ESP", &esp_icon)) {
  61.  
  62. if (esp_icon)
  63. {
  64.  
  65. std::cout << "[Icon ESP] Enabled" << std::endl;
  66. esp_icon = true;
  67. rainbowSix.esp_icon(esp_icon);
  68. rainbowSix.patch_terminate();
  69.  
  70.  
  71. }
  72. else //disable
  73. {
  74.  
  75. std::cout << "[Icon ESP] Disbaled" << std::endl;
  76. esp_icon = false;
  77. rainbowSix.esp_icon(esp_icon);
  78.  
  79.  
  80. }
  81. Sleep(250);
  82. }
  83. //Name ESP
  84. if (ImGui::Checkbox("Name ESP", &name)) {
  85.  
  86. if (name)
  87. {
  88.  
  89. std::cout << "[Name ESP] Enabled " << std::endl;
  90. name = true;
  91. rainbowSix.Name_ESP(name);
  92. rainbowSix.patch_terminate();
  93.  
  94. }
  95. else
  96. {
  97.  
  98. std::cout << "[Name ESP] Disabled " << std::endl;
  99. name = false;
  100. rainbowSix.Name_ESP(name);
  101.  
  102.  
  103.  
  104. }
  105. Sleep(250);
  106. }
  107.  
  108.  
  109.  
  110. if (ImGui::Checkbox("Glow ESP", &glow)) { //draws the checkbox
  111.  
  112. rainbowSix.glowPlayers(glow, 20, 20, 60);
  113.  
  114. }
  115. else if (glow == false)
  116. {
  117.  
  118. rainbowSix.glowPlayers(glow, 0, 0, 0);
  119. }
  120.  
  121. if (glow) { //if glow is enabled
  122. if (ImGui::ColorEdit3("Glow", glowpicker)) { //show the glow pick
  123. {
  124. rainbowSix.glowPlayers(glow, glowpicker[0], glowpicker[1], glowpicker[2]);
  125.  
  126.  
  127. }
  128. }
  129. if (glow) {
  130. if (ImGui::SliderInt("Brightness", &sliderInt, 0, 100)) {
  131.  
  132. }
  133. }
  134. }
  135. }
  136.  
  137.  
  138.  
  139. // find somewhere to put it so i don't have to scroll every 3 seconds
  140.  
  141. // there wan an update today xd i updated everything in my offsets tho
  142.  
  143.  
  144. else if (tabb == 1) {
  145.  
  146. static bool aim = false;
  147. static bool dmg = false;
  148. static bool recoil = false;
  149. static bool fov = false;
  150.  
  151.  
  152.  
  153. ImGui::Checkbox("Aimbot", &aim);
  154.  
  155.  
  156. if (fov) {
  157.  
  158. ImGui::SliderFloat("FOV", &FeaturesConfiguration::Values::Fov, 80, 360);
  159.  
  160. {
  161. rainbowSix.SetFOV(FeaturesConfiguration::Values::Fov);
  162. }
  163. }
  164.  
  165.  
  166. ImGui::Checkbox("Damage Mutiplier", &dmg);
  167. ImGui::Checkbox("NoRecoil/Spread", &recoil);
  168.  
  169.  
  170. }
  171. else if (tabb == 2) {
  172.  
  173. static bool unlock = false;
  174. static bool clip = false;
  175. static bool invi = false;
  176. static bool flash = false;
  177. static bool shotgun = false;
  178.  
  179.  
  180.  
  181. if (ImGui::Checkbox("UnlockAll", &unlock)) {
  182. if (unlock)
  183. {
  184.  
  185. std::cout << "[UNLOCK ALL] Emabled" << std::endl;
  186. unlock = true;
  187. rainbow_mutex.lock();
  188. rainbowSix.all_unlocks(unlock);
  189. rainbow_mutex.unlock();
  190.  
  191. }
  192. else
  193. {
  194.  
  195. std::cout << "[UNLOCK ALL] Disabled" << std::endl;
  196. unlock = false;
  197. rainbow_mutex.lock();
  198. rainbowSix.all_unlocks(unlock);
  199. rainbow_mutex.unlock();
  200.  
  201. }
  202. Sleep(250);
  203. }
  204.  
  205. ImGui::Checkbox("NoClip", &clip); {
  206. if (clip)
  207. {
  208.  
  209. std::cout << "[NOCLIP] Emabled" << std::endl;
  210. clip = true;
  211. rainbowSix.NoClip(clip);
  212.  
  213.  
  214. }
  215. else
  216. {
  217.  
  218. std::cout << "[NOCLIP] Disabled" << std::endl;
  219. clip = false;
  220. rainbowSix.NoClip(clip);
  221.  
  222.  
  223. }
  224. Sleep(250);
  225. }
  226.  
  227.  
  228. ImGui::Checkbox("Invisible", &invi); {
  229. if (invi)
  230. {
  231.  
  232. std::cout << "[INVISIBLE] Emabled" << std::endl;
  233. invi = true;
  234. rainbowSix.invisible();
  235.  
  236.  
  237. }
  238. else
  239. {
  240.  
  241. std::cout << "[INVISIBLE] Disabled" << std::endl;
  242. invi = false;
  243. rainbowSix.invisible();
  244.  
  245.  
  246. }
  247. Sleep(250);
  248. }
  249.  
  250.  
  251. ImGui::Checkbox("NoFlash", &flash); {
  252. if (flash)
  253. {
  254.  
  255. std::cout << "[NOFLASH] Emabled" << std::endl;
  256. flash = true;
  257. rainbowSix.noFlash(flash);
  258.  
  259.  
  260. }
  261. else
  262. {
  263.  
  264. std::cout << "[NOFLASH] Disabled" << std::endl;
  265. flash = false;
  266. rainbowSix.noFlash(flash);
  267.  
  268.  
  269. }
  270. Sleep(250);
  271. }
  272.  
  273.  
  274. ImGui::Checkbox("Shotgun Bullets", &shotgun); {
  275. if (shotgun)
  276. {
  277.  
  278. std::cout << "[SHOTGUN] Emabled" << std::endl;
  279. shotgun = true;
  280. rainbowSix.impactBullets(shotgun);
  281.  
  282.  
  283. }
  284. else
  285. {
  286.  
  287. std::cout << "[SHOTGUN] Disabled" << std::endl;
  288. shotgun = false;
  289. rainbowSix.impactBullets(shotgun);
  290.  
  291.  
  292. }
  293. Sleep(250);
  294. }
  295.  
  296. }
  297.  
  298.  
  299. ImGui::End();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement