Guest User

Untitled

a guest
Nov 3rd, 2017
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.99 KB | None | 0 0
  1. #include "Menu.h"
  2. #include "Controls.h"
  3. #include "Hooks.h"
  4. #include "Interfaces.h"
  5. #include "CRC32.h"
  6.  
  7. #define WINDOW_WIDTH 933
  8. #define WINDOW_HEIGHT 700
  9.  
  10. AvozWindow Menu::Window;
  11.  
  12. void SaveLegitCallbk()
  13. {
  14. switch (Menu::Window.ColorsTab.ConfigBox.GetIndex())
  15. {
  16. case 0:
  17. GUI.SaveWindowState(&Menu::Window, "legit.cfg");
  18. break;
  19. case 1:
  20. GUI.SaveWindowState(&Menu::Window, "rage.cfg");
  21. break;
  22. case 2:
  23. GUI.SaveWindowState(&Menu::Window, "mmhvh.cfg");
  24. break;
  25. case 3:
  26. GUI.SaveWindowState(&Menu::Window, "casual.cfg");
  27. break;
  28. }
  29. }
  30.  
  31. void LoadLegitCallbk()
  32. {
  33. switch (Menu::Window.ColorsTab.ConfigBox.GetIndex())
  34. {
  35. case 0:
  36. GUI.LoadWindowState(&Menu::Window, "legit.cfg");
  37. break;
  38. case 1:
  39. GUI.LoadWindowState(&Menu::Window, "rage.cfg");
  40. break;
  41. case 2:
  42. GUI.LoadWindowState(&Menu::Window, "mmhvh.cfg");
  43. break;
  44. case 3:
  45. GUI.LoadWindowState(&Menu::Window, "casual.cfg");
  46. break;
  47. }
  48. }
  49.  
  50. void SaveRageCallbk()
  51. {
  52. GUI.SaveWindowState(&Menu::Window, "rage.cfg");
  53. }
  54.  
  55. void LoadRageCallbk()
  56. {
  57. GUI.LoadWindowState(&Menu::Window, "rage.cfg");
  58. }
  59.  
  60. void UnLoadCallbk()
  61. {
  62. DoUnload = true;
  63. }
  64.  
  65. void KnifeApplyCallbk()
  66. {
  67. static ConVar* Meme = Interfaces::CVar->FindVar("cl_fullupdate");
  68. Meme->nFlags &= ~FCVAR_CHEAT;
  69. Interfaces::Engine->ClientCmd_Unrestricted("cl_fullupdate");
  70. bGlovesNeedUpdate = true;
  71. }
  72.  
  73. void GlovesApplyCallbk()
  74. {
  75. static ConVar* Meme = Interfaces::CVar->FindVar("cl_fullupdate");
  76. Meme->nFlags &= ~FCVAR_CHEAT;
  77. Interfaces::Engine->ClientCmd_Unrestricted("cl_fullupdate");
  78. bGlovesNeedUpdate = true;
  79. }
  80.  
  81. void AvozWindow::Setup()
  82. {
  83. SetPosition(350, 50);
  84. SetSize(WINDOW_WIDTH, WINDOW_HEIGHT);
  85. SetTitle(" AVOZ BETA");
  86.  
  87. RegisterTab(&RageBotTab);
  88. RegisterTab(&LegitBotTab);
  89. RegisterTab(&VisualsTab);
  90. RegisterTab(&MiscTab);
  91. RegisterTab(&ColorsTab);
  92. RegisterTab(&SkinchangerTab);
  93.  
  94. RECT Client = GetClientArea();
  95. Client.bottom -= 29;
  96.  
  97. RageBotTab.Setup();
  98. LegitBotTab.Setup();
  99. VisualsTab.Setup();
  100. MiscTab.Setup();
  101. ColorsTab.Setup();
  102. SkinchangerTab.Setup();
  103.  
  104. #pragma region Bottom Buttons
  105.  
  106. SaveButton.SetText("Save");
  107. SaveButton.SetCallback(SaveLegitCallbk);
  108. SaveButton.SetPosition(405, Client.bottom - 610);
  109.  
  110. LoadButton.SetText("Load");
  111. LoadButton.SetCallback(LoadLegitCallbk);
  112. LoadButton.SetPosition(580, Client.bottom - 610);
  113.  
  114. ColorsTab.RegisterControl(&SaveButton);
  115. ColorsTab.RegisterControl(&ConfigBox);
  116. ColorsTab.RegisterControl(&LoadButton);
  117.  
  118. #pragma endregion
  119. }
  120.  
  121. void CRageBotTab::Setup()
  122. {
  123. SetTitle("A");
  124.  
  125. ActiveLabel.SetPosition(16, -15);
  126. ActiveLabel.SetText("Active");
  127. RegisterControl(&ActiveLabel);
  128.  
  129. Active.SetFileId("active");
  130. Active.SetPosition(66, -15);
  131. RegisterControl(&Active);
  132.  
  133. #pragma region Aimbot
  134.  
  135. AimbotGroup.SetPosition(16, 11);
  136. AimbotGroup.SetText("Aimbot");
  137. AimbotGroup.SetSize(376, 270);
  138. RegisterControl(&AimbotGroup);
  139.  
  140. AimbotEnable.SetFileId("aim_enable");
  141. AimbotGroup.PlaceLabledControl("Enable", this, &AimbotEnable);
  142.  
  143. AimbotAutoFire.SetFileId("aim_autofire");
  144. AimbotGroup.PlaceLabledControl("Auto Fire", this, &AimbotAutoFire);
  145.  
  146. AimbotFov.SetFileId("aim_fov");
  147. AimbotFov.SetBoundaries(0.f, 180.f);
  148. AimbotFov.SetValue(39.f);
  149. AimbotGroup.PlaceLabledControl("FOV Range", this, &AimbotFov);
  150.  
  151. AimbotSilentAim.SetFileId("aim_silent");
  152. AimbotGroup.PlaceLabledControl("Silent Aim", this, &AimbotSilentAim);
  153.  
  154. AWPAtBody.SetFileId("aim_awpatbody");
  155. AimbotGroup.PlaceLabledControl("AWP at Body", this, &AWPAtBody);
  156.  
  157. AutoRevolver.SetFileId("aim_autorevolver");
  158. AimbotGroup.PlaceLabledControl("Auto Revolver", this, &AutoRevolver);
  159.  
  160. AimbotAimStep.SetFileId("aim_aimstep");
  161. AimbotGroup.PlaceLabledControl("Aim Step", this, &AimbotAimStep);
  162.  
  163. AimbotKeyPress.SetFileId("aim_usekey");
  164. AimbotGroup.PlaceLabledControl("On Key Press", this, &AimbotKeyPress);
  165.  
  166. AimbotKeyBind.SetFileId("aim_key");
  167. AimbotGroup.PlaceLabledControl("Key", this, &AimbotKeyBind);
  168.  
  169. AimbotStopKey.SetFileId("aim_stop");
  170. AimbotGroup.PlaceLabledControl("Stop Aim", this, &AimbotStopKey);
  171. #pragma endregion Aimbot Controls Get Setup in here
  172.  
  173. #pragma region Target
  174. TargetGroup.SetPosition(16, 297);
  175. TargetGroup.SetText("Target");
  176. TargetGroup.SetSize(376, 310);
  177. RegisterControl(&TargetGroup);
  178.  
  179. TargetSelection.SetFileId("tgt_selection");
  180. TargetSelection.AddItem("Closest To Crosshair");
  181. TargetSelection.AddItem("Distance");
  182. TargetSelection.AddItem("Lowest Health");
  183. TargetSelection.AddItem("Threat");
  184. TargetSelection.AddItem("Next Shot");
  185. TargetGroup.PlaceLabledControl("Selection", this, &TargetSelection);
  186.  
  187. TargetFriendlyFire.SetFileId("tgt_friendlyfire");
  188. TargetGroup.PlaceLabledControl("Friendly Fire", this, &TargetFriendlyFire);
  189.  
  190. TargetHitbox.SetFileId("tgt_hitbox");
  191. TargetHitbox.AddItem("Head");
  192. TargetHitbox.AddItem("Neck");
  193. TargetHitbox.AddItem("Chest");
  194. TargetHitbox.AddItem("Stomach");
  195. TargetHitbox.AddItem("Foots");
  196. TargetGroup.PlaceLabledControl("Hitbox", this, &TargetHitbox);
  197.  
  198. TargetHitscan.SetFileId("tgt_hitscan");
  199. TargetHitscan.AddItem("Off");
  200. TargetHitscan.AddItem("Low");
  201. TargetHitscan.AddItem("Medium");
  202. TargetHitscan.AddItem("High");
  203. TargetGroup.PlaceLabledControl("Hitscan", this, &TargetHitscan);
  204.  
  205. PVSFix.SetFileId("tgt_pvsfix");
  206. TargetGroup.PlaceLabledControl("PVS Fix", this, &PVSFix);
  207.  
  208. EnginePrediction.SetFileId("tgt_enginepred");
  209. TargetGroup.PlaceLabledControl("Engine Prediction", this, &EnginePrediction);
  210.  
  211. TargetMultipoint.SetFileId("tgt_multipoint");
  212. TargetGroup.PlaceLabledControl("Multipoint", this, &TargetMultipoint);
  213.  
  214. TargetPointscale.SetFileId("tgt_pointscale");
  215. TargetPointscale.SetBoundaries(0.f, 10.f);
  216. TargetPointscale.SetValue(5.f);
  217. TargetGroup.PlaceLabledControl("Aim Height", this, &TargetPointscale);
  218. #pragma endregion Targetting controls
  219.  
  220. #pragma region Accuracy
  221. AccuracyGroup.SetPosition(408, 11);
  222. AccuracyGroup.SetText("Accuracy");
  223. AccuracyGroup.SetSize(360, 270);
  224. RegisterControl(&AccuracyGroup);
  225.  
  226. AccuracyRecoil.SetFileId("acc_norecoil");
  227. AccuracyGroup.PlaceLabledControl("Remove Recoil", this, &AccuracyRecoil);
  228.  
  229. AccuracyAutoWall.SetFileId("acc_awall");
  230. AccuracyGroup.PlaceLabledControl("Auto Wall", this, &AccuracyAutoWall);
  231.  
  232. AccuracyMinimumDamage.SetFileId("acc_mindmg");
  233. AccuracyMinimumDamage.SetBoundaries(1.f, 99.f);
  234. AccuracyMinimumDamage.SetValue(1.f);
  235. AccuracyGroup.PlaceLabledControl("Autowall Damage", this, &AccuracyMinimumDamage);
  236.  
  237. AccuracyAutoScope.SetFileId("acc_scope");
  238. AccuracyGroup.PlaceLabledControl("Auto Scope", this, &AccuracyAutoScope);
  239.  
  240. LowerbodyFix.SetFileId("acc_lowerbodyfix");
  241. AccuracyGroup.PlaceLabledControl("LBY Correction", this, &LowerbodyFix);
  242.  
  243. AdvancedResolver.SetFileId("acc_advancedresolver");
  244. AccuracyGroup.PlaceLabledControl("Pitch Correction", this, &AdvancedResolver);
  245.  
  246. AimbotResolver.SetFileId("acc_aaa");
  247. AimbotResolver.AddItem("Off");
  248. AimbotResolver.AddItem("Level 1");
  249. AimbotResolver.AddItem("Level 2");
  250. AimbotResolver.AddItem("Level 3");
  251. AccuracyGroup.PlaceLabledControl("Resolver", this, &AimbotResolver);
  252.  
  253. AccuracyHitchance.SetFileId("acc_chance");
  254. AccuracyHitchance.SetBoundaries(0, 100);
  255. AccuracyHitchance.SetValue(0);
  256. AccuracyGroup.PlaceLabledControl("Hit Chance", this, &AccuracyHitchance);
  257.  
  258. BaimIfUnderXHealth.SetFileId("acc_BaimIfUnderXHealth");
  259. BaimIfUnderXHealth.SetBoundaries(0, 100);
  260. BaimIfUnderXHealth.SetValue(0);
  261. AccuracyGroup.PlaceLabledControl("Baim if lower", this, &BaimIfUnderXHealth);
  262.  
  263. PreferBodyAim.SetFileId("acc_preferbaim");
  264. AccuracyGroup.PlaceLabledControl("Prefer Body-Aim", this, &PreferBodyAim);
  265.  
  266. #pragma endregion Accuracy controls get Setup in here
  267.  
  268. #pragma region AntiAim
  269. AntiAimGroup.SetPosition(408, 297);
  270. AntiAimGroup.SetText("Anti Aim");
  271. AntiAimGroup.SetSize(360, 310);
  272. RegisterControl(&AntiAimGroup);
  273.  
  274. AntiAimEnable.SetFileId("aa_enable");
  275. AntiAimGroup.PlaceLabledControl("Enable", this, &AntiAimEnable);
  276.  
  277. AntiAimPitch.SetFileId("aa_x");
  278. AntiAimPitch.AddItem("Off");
  279. AntiAimPitch.AddItem("Halfdown");
  280. AntiAimPitch.AddItem("Jitter");
  281. AntiAimPitch.AddItem("Emotion");
  282. AntiAimPitch.AddItem("Up");
  283. AntiAimPitch.AddItem("Zero");
  284. AntiAimPitch.AddItem("Custom");
  285. AntiAimGroup.PlaceLabledControl("Pitch", this, &AntiAimPitch);
  286.  
  287. AntiAimYaw.SetFileId("aa_y");
  288. AntiAimYaw.AddItem("Off");
  289. AntiAimYaw.AddItem("Fast Spin");
  290. AntiAimYaw.AddItem("Slow Spin");
  291. AntiAimYaw.AddItem("Jitter");
  292. AntiAimYaw.AddItem("180 Jitter");
  293. AntiAimYaw.AddItem("Backwards");
  294. AntiAimYaw.AddItem("Backwards Jitter");
  295. AntiAimYaw.AddItem("Sideways Switch");
  296. AntiAimYaw.AddItem("Sideways Right");
  297. AntiAimYaw.AddItem("Sideways Left");
  298. AntiAimYaw.AddItem("LBY");
  299. AntiAimYaw.AddItem("LBY Jitter");
  300. AntiAimYaw.AddItem("LBY Sideways");
  301. AntiAimYaw.AddItem("LBY Spin");
  302. AntiAimYaw.AddItem("LBY Break");
  303. AntiAimGroup.PlaceLabledControl("Real Yaw", this, &AntiAimYaw);
  304.  
  305. FakeYaw.SetFileId("fakeaa");
  306. FakeYaw.AddItem("Off");
  307. FakeYaw.AddItem("Fast Spin");
  308. FakeYaw.AddItem("Slow Spin");
  309. FakeYaw.AddItem("Jitter");
  310. FakeYaw.AddItem("180 Jitter");
  311. FakeYaw.AddItem("Backwards");
  312. FakeYaw.AddItem("Backwards Jitter");
  313. FakeYaw.AddItem("Sideways Switch");
  314. FakeYaw.AddItem("Sideways Right");
  315. FakeYaw.AddItem("Sideways Left");
  316. FakeYaw.AddItem("LBY");
  317. FakeYaw.AddItem("LBY Jitter");
  318. FakeYaw.AddItem("LBY Sideways");
  319. FakeYaw.AddItem("LBY Spin");
  320. FakeYaw.AddItem("LBY Break");
  321. AntiAimGroup.PlaceLabledControl("Fake Yaw", this, &FakeYaw);
  322.  
  323. CustomPitch.SetFileId("aa_offset");
  324. CustomPitch.SetBoundaries(0, 89);
  325. CustomPitch.SetValue(0);
  326. AntiAimGroup.PlaceLabledControl("Custom Pitch", this, &CustomPitch);
  327.  
  328. AntiAimOffset.SetFileId("aa_offset");
  329. AntiAimOffset.SetBoundaries(0, 360);
  330. AntiAimOffset.SetValue(0);
  331. AntiAimGroup.PlaceLabledControl("Add Real Yaw", this, &AntiAimOffset);
  332.  
  333. AddFakeYaw.SetFileId("aa_offset");
  334. AddFakeYaw.SetBoundaries(0, 360);
  335. AddFakeYaw.SetValue(0);
  336. AntiAimGroup.PlaceLabledControl("Add Fake Yaw", this, &AddFakeYaw);
  337.  
  338. FlipAA.SetFileId("aa_flip");
  339. AntiAimGroup.PlaceLabledControl("Flip AA on Hit", this, &FlipAA);
  340.  
  341. LBY.SetFileId("aa_lby");
  342. AntiAimGroup.PlaceLabledControl("Anti Resolver", this, &LBY);
  343.  
  344. AntiAimEdge.SetFileId("aa_edge");
  345. AntiAimGroup.PlaceLabledControl("Wall Detection", this, &AntiAimEdge);
  346.  
  347. AntiAimKnife.SetFileId("aa_knife");
  348. AntiAimGroup.PlaceLabledControl("Knife/Nade Anti Aim", this, &AntiAimKnife);
  349.  
  350. AntiAimTarget.SetFileId("aa_target");
  351. AntiAimGroup.PlaceLabledControl("At Targets", this, &AntiAimTarget);
  352. #pragma endregion AntiAim controls get setup in here
  353. }
  354.  
  355. void CLegitBotTab::Setup()
  356. {
  357. SetTitle("I");
  358.  
  359. ActiveLabel.SetPosition(16, -15);
  360. ActiveLabel.SetText("Active");
  361. RegisterControl(&ActiveLabel);
  362.  
  363. Active.SetFileId("active");
  364. Active.SetPosition(66, -15);
  365. RegisterControl(&Active);
  366.  
  367. #pragma region Aimbot
  368. AimbotGroup.SetPosition(16, 11);
  369. AimbotGroup.SetText("Aimbot");
  370. AimbotGroup.SetSize(240, 170);
  371. RegisterControl(&AimbotGroup);
  372.  
  373. AimbotEnable.SetFileId("aim_enable");
  374. AimbotGroup.PlaceLabledControl("Enable", this, &AimbotEnable);
  375.  
  376. AimbotAutoFire.SetFileId("aim_autofire");
  377. AimbotGroup.PlaceLabledControl("Auto Fire", this, &AimbotAutoFire);
  378.  
  379. AimbotFriendlyFire.SetFileId("aim_friendfire");
  380. AimbotGroup.PlaceLabledControl("Friendly Fire", this, &AimbotFriendlyFire);
  381.  
  382. AimbotSmokeCheck.SetFileId("otr_smokecheck");
  383. AimbotGroup.PlaceLabledControl("Smoke Check", this, &AimbotSmokeCheck);
  384.  
  385. AimbotKeyPress.SetFileId("aim_usekey");
  386. AimbotGroup.PlaceLabledControl("On Key", this, &AimbotKeyPress);
  387.  
  388. AimbotKeyBind.SetFileId("aim_key");
  389. AimbotGroup.PlaceLabledControl("Key Bind", this, &AimbotKeyBind);
  390.  
  391. #pragma endregion Aimbot shit
  392.  
  393. #pragma region Triggerbot
  394. TriggerGroup.SetPosition(272, 11);
  395. TriggerGroup.SetText("Triggerbot");
  396. TriggerGroup.SetSize(240, 170);
  397. RegisterControl(&TriggerGroup);
  398.  
  399. TriggerEnable.SetFileId("trig_enable");
  400. TriggerGroup.PlaceLabledControl("Enable", this, &TriggerEnable);
  401.  
  402. TriggerKeyPress.SetFileId("trig_onkey");
  403. TriggerGroup.PlaceLabledControl("On Key Press", this, &TriggerKeyPress);
  404.  
  405. TriggerKeyBind.SetFileId("trig_key");
  406. TriggerGroup.PlaceLabledControl("Key Bind", this, &TriggerKeyBind);
  407.  
  408. TriggerRecoil.SetFileId("trig_recoil");
  409. TriggerGroup.PlaceLabledControl("Recoil Control", this, &TriggerRecoil);
  410.  
  411. TriggerSmokeCheck.SetFileId("trig_smokecheck");
  412. TriggerGroup.PlaceLabledControl("Smoke Check", this, &TriggerSmokeCheck);
  413.  
  414. TriggerDelay.SetFileId("trig_time");
  415. TriggerDelay.SetBoundaries(0, 100);
  416. TriggerDelay.SetValue(1);
  417. TriggerGroup.PlaceLabledControl("Delay", this, &TriggerDelay);
  418.  
  419. #pragma endregion Triggerbot stuff
  420.  
  421. #pragma region TriggerbotFilter
  422. TriggerFilterGroup.SetPosition(528, 11);
  423. TriggerFilterGroup.SetText("Triggerbot Filter");
  424. TriggerFilterGroup.SetSize(240, 170);
  425. RegisterControl(&TriggerFilterGroup);
  426.  
  427. TriggerHead.SetFileId("trig_head");
  428. TriggerFilterGroup.PlaceLabledControl("Head", this, &TriggerHead);
  429.  
  430. TriggerChest.SetFileId("trig_chest");
  431. TriggerFilterGroup.PlaceLabledControl("Chest", this, &TriggerChest);
  432.  
  433. TriggerStomach.SetFileId("trig_stomach");
  434. TriggerFilterGroup.PlaceLabledControl("Stomach", this, &TriggerStomach);
  435.  
  436. TriggerArms.SetFileId("trig_arms");
  437. TriggerFilterGroup.PlaceLabledControl("Arms", this, &TriggerArms);
  438.  
  439. TriggerLegs.SetFileId("trig_legs");
  440. TriggerFilterGroup.PlaceLabledControl("Legs", this, &TriggerLegs);
  441.  
  442. TriggerTeammates.SetFileId("trig_teammates");
  443. TriggerFilterGroup.PlaceLabledControl("Friendly Fire", this, &TriggerTeammates);
  444.  
  445. #pragma endregion TriggerbotFilter stuff
  446.  
  447. #pragma region Main Weapon
  448. WeaponMainGroup.SetPosition(16, 208);
  449. WeaponMainGroup.SetText("Rifles");
  450. WeaponMainGroup.SetSize(240, 135);
  451. RegisterControl(&WeaponMainGroup);
  452.  
  453. WeaponMainHitbox.SetFileId("main_hitbox");
  454. WeaponMainHitbox.AddItem("Head");
  455. WeaponMainHitbox.AddItem("Neck");
  456. WeaponMainHitbox.AddItem("Chest");
  457. WeaponMainHitbox.AddItem("Stomach");
  458. WeaponMainHitbox.AddItem("Multihitbox");
  459. WeaponMainGroup.PlaceLabledControl("Hitbox", this, &WeaponMainHitbox);
  460.  
  461. WeaponMainSpeed.SetFileId("main_speed");
  462. WeaponMainSpeed.SetBoundaries(0.f, 100.f);
  463. WeaponMainSpeed.SetValue(1.f);
  464. WeaponMainGroup.PlaceLabledControl("Max Speed", this, &WeaponMainSpeed);
  465.  
  466. WeaponMainFoV.SetFileId("main_fov");
  467. WeaponMainFoV.SetBoundaries(0.f, 30.f);
  468. WeaponMainFoV.SetValue(3.5f);
  469. WeaponMainGroup.PlaceLabledControl("Field of View", this, &WeaponMainFoV);
  470.  
  471. WeaponMainRecoil.SetFileId("main_recoil");
  472. WeaponMainRecoil.SetBoundaries(0.f, 2.f);
  473. WeaponMainRecoil.SetValue(1.f);
  474. WeaponMainGroup.PlaceLabledControl("Recoil Control", this, &WeaponMainRecoil);
  475.  
  476. WeaponMainAimtime.SetValue(0);
  477. WeaoponMainStartAimtime.SetValue(0);
  478.  
  479. #pragma endregion
  480.  
  481. #pragma region Pistols
  482. WeaponPistGroup.SetPosition(272, 208);
  483. WeaponPistGroup.SetText("Pistols");
  484. WeaponPistGroup.SetSize(240, 135);
  485. RegisterControl(&WeaponPistGroup);
  486.  
  487. WeaponPistHitbox.SetFileId("pist_hitbox");
  488. WeaponPistHitbox.AddItem("Head");
  489. WeaponPistHitbox.AddItem("Neck");
  490. WeaponPistHitbox.AddItem("Chest");
  491. WeaponPistHitbox.AddItem("Stomach");
  492. WeaponPistHitbox.AddItem("Multihitbox");
  493. WeaponPistGroup.PlaceLabledControl("Hitbox", this, &WeaponPistHitbox);
  494.  
  495. WeaponPistSpeed.SetFileId("pist_speed");
  496. WeaponPistSpeed.SetBoundaries(0.f, 100.f);
  497. WeaponPistSpeed.SetValue(1.0f);
  498. WeaponPistGroup.PlaceLabledControl("Max Speed", this, &WeaponPistSpeed);
  499.  
  500. WeaponPistFoV.SetFileId("pist_fov");
  501. WeaponPistFoV.SetBoundaries(0.f, 30.f);
  502. WeaponPistFoV.SetValue(3.f);
  503. WeaponPistGroup.PlaceLabledControl("Field of View", this, &WeaponPistFoV);
  504.  
  505. WeaponPistRecoil.SetFileId("pist_recoil");
  506. WeaponPistRecoil.SetBoundaries(0.f, 2.f);
  507. WeaponPistRecoil.SetValue(1.f);
  508. WeaponPistGroup.PlaceLabledControl("Recoil Control", this, &WeaponPistRecoil);
  509.  
  510. WeaponPistAimtime.SetValue(0);
  511. WeaoponPistStartAimtime.SetValue(0);
  512.  
  513. #pragma endregion
  514.  
  515. #pragma region Snipers
  516. WeaponSnipGroup.SetPosition(528, 208);
  517. WeaponSnipGroup.SetText("Snipers");
  518. WeaponSnipGroup.SetSize(240, 135);
  519. RegisterControl(&WeaponSnipGroup);
  520.  
  521. WeaponSnipHitbox.SetFileId("snip_hitbox");
  522. WeaponSnipHitbox.AddItem("Head");
  523. WeaponSnipHitbox.AddItem("Neck");
  524. WeaponSnipHitbox.AddItem("Chest");
  525. WeaponSnipHitbox.AddItem("Stomach");
  526. WeaponSnipHitbox.AddItem("Multihitbox");
  527. WeaponSnipGroup.PlaceLabledControl("Hitbox", this, &WeaponSnipHitbox);
  528.  
  529. WeaponSnipSpeed.SetFileId("snip_speed");
  530. WeaponSnipSpeed.SetBoundaries(0.f, 100.f);
  531. WeaponSnipSpeed.SetValue(1.5f);
  532. WeaponSnipGroup.PlaceLabledControl("Max Speed", this, &WeaponSnipSpeed);
  533.  
  534. WeaponSnipFoV.SetFileId("snip_fov");
  535. WeaponSnipFoV.SetBoundaries(0.f, 30.f);
  536. WeaponSnipFoV.SetValue(2.f);
  537. WeaponSnipGroup.PlaceLabledControl("Field of View", this, &WeaponSnipFoV);
  538.  
  539. WeaponSnipRecoil.SetFileId("snip_recoil");
  540. WeaponSnipRecoil.SetBoundaries(0.f, 2.f);
  541. WeaponSnipRecoil.SetValue(1.f);
  542. WeaponSnipGroup.PlaceLabledControl("Recoil Control", this, &WeaponSnipRecoil);
  543.  
  544. WeaponSnipAimtime.SetValue(0);
  545. WeaoponSnipStartAimtime.SetValue(0);
  546.  
  547. #pragma region MPs
  548. WeaponMpGroup.SetPosition(16, 365);
  549. WeaponMpGroup.SetText("MPs");
  550. WeaponMpGroup.SetSize(240, 136);
  551. RegisterControl(&WeaponMpGroup);
  552.  
  553. WeaponMpHitbox.SetFileId("mps_hitbox");
  554. WeaponMpHitbox.AddItem("Head");
  555. WeaponMpHitbox.AddItem("Neck");
  556. WeaponMpHitbox.AddItem("Chest");
  557. WeaponMpHitbox.AddItem("Stomach");
  558. WeaponMpHitbox.AddItem("Multihitbox");
  559. WeaponMpGroup.PlaceLabledControl("Hitbox", this, &WeaponMpHitbox);
  560.  
  561. WeaponMpSpeed.SetFileId("mps_speed");
  562. WeaponMpSpeed.SetBoundaries(0.f, 100.f);
  563. WeaponMpSpeed.SetValue(1.0f);
  564. WeaponMpGroup.PlaceLabledControl("Max Speed", this, &WeaponMpSpeed);
  565.  
  566. WeaponMpFoV.SetFileId("mps_fov");
  567. WeaponMpFoV.SetBoundaries(0.f, 30.f);
  568. WeaponMpFoV.SetValue(4.f);
  569. WeaponMpGroup.PlaceLabledControl("Field of View", this, &WeaponMpFoV);
  570.  
  571. WeaponMpRecoil.SetFileId("mps_recoil");
  572. WeaponMpRecoil.SetBoundaries(0.f, 2.f);
  573. WeaponMpRecoil.SetValue(1.f);
  574. WeaponMpGroup.PlaceLabledControl("Recoil Control", this, &WeaponMpRecoil);
  575.  
  576. WeaponMpAimtime.SetValue(0);
  577. WeaoponMpStartAimtime.SetValue(0);
  578. #pragma endregion
  579.  
  580. #pragma region Shotguns
  581. WeaponShotgunGroup.SetPosition(272, 365);
  582. WeaponShotgunGroup.SetText("Shotguns");
  583. WeaponShotgunGroup.SetSize(240, 136);
  584. RegisterControl(&WeaponShotgunGroup);
  585.  
  586. WeaponShotgunHitbox.SetFileId("shotgun_hitbox");
  587. WeaponShotgunHitbox.AddItem("Head");
  588. WeaponShotgunHitbox.AddItem("Neck");
  589. WeaponShotgunHitbox.AddItem("Chest");
  590. WeaponShotgunHitbox.AddItem("Stomach");
  591. WeaponShotgunHitbox.AddItem("Multihitbox");
  592. WeaponShotgunGroup.PlaceLabledControl("Hitbox", this, &WeaponShotgunHitbox);
  593.  
  594. WeaponShotgunSpeed.SetFileId("shotgun_speed");
  595. WeaponShotgunSpeed.SetBoundaries(0.f, 100.f);
  596. WeaponShotgunSpeed.SetValue(1.0f);
  597. WeaponShotgunGroup.PlaceLabledControl("Max Speed", this, &WeaponShotgunSpeed);
  598.  
  599. WeaponShotgunFoV.SetFileId("shotgun_fov");
  600. WeaponShotgunFoV.SetBoundaries(0.f, 30.f);
  601. WeaponShotgunFoV.SetValue(3.f);
  602. WeaponShotgunGroup.PlaceLabledControl("Field of View", this, &WeaponShotgunFoV);
  603.  
  604. WeaponShotgunRecoil.SetFileId("snip_recoil");
  605. WeaponShotgunRecoil.SetBoundaries(0.f, 2.f);
  606. WeaponShotgunRecoil.SetValue(1.f);
  607. WeaponShotgunGroup.PlaceLabledControl("Recoil Control", this, &WeaponShotgunRecoil);
  608.  
  609. WeaponShotgunAimtime.SetValue(0);
  610. WeaoponShotgunStartAimtime.SetValue(0);
  611.  
  612. #pragma endregion
  613.  
  614. #pragma region Machineguns
  615. WeaponMGGroup.SetPosition(528, 365);
  616. WeaponMGGroup.SetText("Heavy");
  617. WeaponMGGroup.SetSize(240, 136);
  618. RegisterControl(&WeaponMGGroup);
  619.  
  620. WeaponMGHitbox.SetFileId("mg_hitbox");
  621. WeaponMGHitbox.AddItem("Head");
  622. WeaponMGHitbox.AddItem("Neck");
  623. WeaponMGHitbox.AddItem("Chest");
  624. WeaponMGHitbox.AddItem("Stomach");
  625. WeaponMGHitbox.AddItem("Multihitbox");
  626. WeaponMGGroup.PlaceLabledControl("Hitbox", this, &WeaponMGHitbox);
  627.  
  628. WeaponMGSpeed.SetFileId("mg_speed");
  629. WeaponMGSpeed.SetBoundaries(0.f, 100.f);
  630. WeaponMGSpeed.SetValue(1.0f);
  631. WeaponMGGroup.PlaceLabledControl("Max Speed", this, &WeaponMGSpeed);
  632.  
  633. WeaponMGFoV.SetFileId("mg_fov");
  634. WeaponMGFoV.SetBoundaries(0.f, 30.f);
  635. WeaponMGFoV.SetValue(4.f);
  636. WeaponMGGroup.PlaceLabledControl("Field of View", this, &WeaponMGFoV);
  637.  
  638. WeaponMGRecoil.SetFileId("mg_recoil");
  639. WeaponMGRecoil.SetBoundaries(0.f, 2.f);
  640. WeaponMGRecoil.SetValue(1.f);
  641. WeaponMGGroup.PlaceLabledControl("Recoil Control", this, &WeaponMGRecoil);
  642.  
  643. WeaponMGAimtime.SetValue(0);
  644. WeaoponMGStartAimtime.SetValue(0);
  645.  
  646. #pragma endregion
  647. }
  648.  
  649. void CVisualTab::Setup()
  650. {
  651. SetTitle("D");
  652.  
  653. ActiveLabel.SetPosition(16, -15);
  654. ActiveLabel.SetText("Active");
  655. RegisterControl(&ActiveLabel);
  656.  
  657. Active.SetFileId("active");
  658. Active.SetPosition(66, -15);
  659. RegisterControl(&Active);
  660.  
  661. #pragma region Options
  662. OptionsGroup.SetText("Options");
  663. OptionsGroup.SetPosition(16, 16);
  664. OptionsGroup.SetSize(193, 505);
  665. RegisterControl(&OptionsGroup);
  666.  
  667. OptionsBox.SetFileId("opt_box");
  668. OptionsBox.AddItem("Off");
  669. OptionsBox.AddItem("2D Box");
  670. OptionsBox.AddItem("Filled");
  671. OptionsBox.AddItem("Corners");
  672. OptionsGroup.PlaceLabledControl("Box", this, &OptionsBox);
  673.  
  674. OptionsWeapon.SetFileId("opt_weapon");
  675. OptionsWeapon.AddItem("Off");
  676. OptionsWeapon.AddItem("Text");
  677. OptionsWeapon.AddItem("Icon");
  678. OptionsGroup.PlaceLabledControl("Weapon", this, &OptionsWeapon);
  679.  
  680. OptionsName.SetFileId("opt_name");
  681. OptionsGroup.PlaceLabledControl("Name", this, &OptionsName);
  682.  
  683. OptionsHealth.SetFileId("opt_hp");
  684. OptionsGroup.PlaceLabledControl("Health", this, &OptionsHealth);
  685.  
  686. OptionsArmor.SetFileId("opt_armor");
  687. OptionsGroup.PlaceLabledControl("Armor", this, &OptionsArmor);
  688.  
  689. OptionsInfo.SetFileId("opt_info");
  690. OptionsGroup.PlaceLabledControl("Info", this, &OptionsInfo);
  691.  
  692. OptionsChams.SetFileId("opt_chams");
  693. OptionsChams.AddItem("Off");
  694. OptionsChams.AddItem("Normal");
  695. OptionsChams.AddItem("Flat");
  696. OptionsGroup.PlaceLabledControl("Chams", this, &OptionsChams);
  697.  
  698. ChamsVisibleOnly.SetFileId("opt_chamsvisonly");
  699. OptionsGroup.PlaceLabledControl("Legit Chams", this, &ChamsVisibleOnly);
  700.  
  701. WeaponChams.SetFileId("opt_weaponchams");
  702. OptionsGroup.PlaceLabledControl("Weapon Chams", this, &WeaponChams);
  703.  
  704. OtherHitmarker.SetFileId("otr_hitmarker");
  705. OptionsGroup.PlaceLabledControl("Hitmarker", this, &OtherHitmarker);
  706.  
  707. HitmarkerSound.SetFileId("otr_hitmarkersound");
  708. OptionsGroup.PlaceLabledControl("Hitmarker Sound", this, &HitmarkerSound);
  709.  
  710.  
  711. Barrels.SetFileId("opt_barrels");
  712. OptionsGroup.PlaceLabledControl("Trace Lines", this, &Barrels);
  713.  
  714. Distance.SetFileId("opt_distance");
  715. OptionsGroup.PlaceLabledControl("Distance", this, &Distance);
  716.  
  717. OptionsSkeleton.SetFileId("opt_bone");
  718. OptionsGroup.PlaceLabledControl("Skeleton", this, &OptionsSkeleton);
  719.  
  720. OptionsAimSpot.SetFileId("opt_aimspot");
  721. OptionsGroup.PlaceLabledControl("Head Cross", this, &OptionsAimSpot);
  722.  
  723. OptionsCompRank.SetFileId("opt_comprank");
  724. OptionsGroup.PlaceLabledControl("Tab Rank Reveal", this, &OptionsCompRank);
  725.  
  726. Money.SetFileId("opt_money");
  727. OptionsGroup.PlaceLabledControl("Money", this, &Money);
  728.  
  729. EntityGlow.SetFileId("opt_entityglow");
  730. OptionsGroup.PlaceLabledControl("Entity Glow", this, &EntityGlow);
  731.  
  732. OptionsGlow.SetFileId("opt_glow");
  733. OptionsGroup.PlaceLabledControl("Glow", this, &OptionsGlow);
  734.  
  735. GlowZ.SetFileId("opt_glowz");
  736. GlowZ.SetBoundaries(0.f, 255.f);
  737. GlowZ.SetValue(255);
  738. OptionsGroup.PlaceLabledControl("Glow Alpha", this, &GlowZ);
  739.  
  740. OptionsDefusing.SetFileId("opt_defusing");
  741. OptionsGroup.PlaceLabledControl("Defusing", this, &OptionsDefusing);
  742.  
  743. IsScoped.SetFileId("opt_isscoped");
  744. OptionsGroup.PlaceLabledControl("Is Scoped", this, &IsScoped);
  745.  
  746. HasDefuser.SetFileId("opt_hasdefuser");
  747. OptionsGroup.PlaceLabledControl("Has Defuser", this, &HasDefuser);
  748.  
  749. #pragma endregion Setting up the Options controls
  750.  
  751. #pragma region Filters
  752. FiltersGroup.SetText("Filters");
  753. FiltersGroup.SetPosition(225, 16);
  754. FiltersGroup.SetSize(193, 190);
  755. RegisterControl(&FiltersGroup);
  756.  
  757. FiltersAll.SetFileId("ftr_all");
  758. FiltersGroup.PlaceLabledControl("All", this, &FiltersAll);
  759.  
  760. FiltersPlayers.SetFileId("ftr_players");
  761. FiltersGroup.PlaceLabledControl("Players", this, &FiltersPlayers);
  762.  
  763. FiltersEnemiesOnly.SetFileId("ftr_enemyonly");
  764. FiltersGroup.PlaceLabledControl("Enemies Only", this, &FiltersEnemiesOnly);
  765.  
  766. FiltersWeapons.SetFileId("ftr_weaps");
  767. FiltersGroup.PlaceLabledControl("Weapons", this, &FiltersWeapons);
  768.  
  769. FiltersNades.SetFileId("ftr_nades");
  770. FiltersGroup.PlaceLabledControl("Nades", this, &FiltersNades);
  771.  
  772. FiltersChickens.SetFileId("ftr_chickens");
  773. FiltersGroup.PlaceLabledControl("Chickens", this, &FiltersChickens);
  774.  
  775. FiltersC4.SetFileId("ftr_c4");
  776. FiltersGroup.PlaceLabledControl("C4", this, &FiltersC4);
  777.  
  778. #pragma endregion Setting up the Filters controls
  779.  
  780. #pragma region Other
  781. OtherGroup.SetText("Other");
  782. OtherGroup.SetPosition(434, 16);
  783. OtherGroup.SetSize(334, 460);
  784. RegisterControl(&OtherGroup);
  785.  
  786. OtherCrosshair.SetFileId("otr_crosshair");
  787. OtherCrosshair.AddItem("Off");
  788. OtherCrosshair.AddItem("Recoil");
  789. OtherCrosshair.AddItem("Spread");
  790. OtherGroup.PlaceLabledControl("Override Crosshair", this, &OtherCrosshair);
  791.  
  792. SniperCrosshair.SetFileId("otr_snipercrosshair");
  793. OtherGroup.PlaceLabledControl("Sniper Crosshair", this, &SniperCrosshair);
  794.  
  795. GrenadeTrace.SetFileId("otr_grenadetrace");
  796. OtherGroup.PlaceLabledControl("Grenade Trajectory", this, &GrenadeTrace);
  797.  
  798. NightMode.SetFileId("otr_nightmode");
  799. OtherGroup.PlaceLabledControl("Night Mode", this, &NightMode);
  800.  
  801. NightSky.SetFileId("otr_nightsky");
  802. OtherGroup.PlaceLabledControl("Night Sky", this, &NightSky);
  803.  
  804. SpecList.SetFileId("otr_speclist");
  805. OtherGroup.PlaceLabledControl("Show Spectators", this, &SpecList);
  806.  
  807. OtherNoVisualRecoil.SetFileId("otr_visrecoil");
  808. OtherGroup.PlaceLabledControl("Remove Visual Recoil", this, &OtherNoVisualRecoil);
  809.  
  810. OtherNoFlash.SetFileId("otr_noflash");
  811. OtherGroup.PlaceLabledControl("Remove Flash", this, &OtherNoFlash);
  812.  
  813. OtherNoSmoke.SetFileId("otr_nosmoke");
  814. OtherGroup.PlaceLabledControl("Remove Smoke", this, &OtherNoSmoke);
  815.  
  816. OtherNoScope.SetFileId("otr_noscope");
  817. OtherGroup.PlaceLabledControl("Remove Scope", this, &OtherNoScope);
  818.  
  819. OtherRadar.SetFileId("otr_radar");
  820. OtherGroup.PlaceLabledControl("Radar", this, &OtherRadar);
  821.  
  822. DisablePostProcess.SetFileId("otr_disablepostprocess");
  823. OtherGroup.PlaceLabledControl("Disable Post Process", this, &DisablePostProcess);
  824.  
  825. Clock.SetFileId("otr_clock");
  826. OtherGroup.PlaceLabledControl("Clock", this, &Clock);
  827.  
  828. Watermark.SetFileId("otr_watermark");
  829. OtherGroup.PlaceLabledControl("Watermark", this, &Watermark);
  830.  
  831. OtherAsusWalls.SetFileId("AsusWalls");
  832. OtherGroup.PlaceLabledControl("AsusWalls", this, &OtherAsusWalls);
  833.  
  834. OtherNoHands.SetFileId("otr_hands");
  835. OtherNoHands.AddItem("Off");
  836. OtherNoHands.AddItem("None");
  837. OtherNoHands.AddItem("Transparent");
  838. OtherNoHands.AddItem("Wireframe");
  839. OtherNoHands.AddItem("Chams");
  840. OtherNoHands.AddItem("Rainbow");
  841. OtherNoHands.AddItem("MetalicHands");
  842. OtherGroup.PlaceLabledControl("Hands", this, &OtherNoHands);
  843.  
  844.  
  845.  
  846. OtherViewmodelFOV.SetFileId("otr_viewfov");
  847. OtherViewmodelFOV.SetBoundaries(0.f, 180.f);
  848. OtherViewmodelFOV.SetValue(0.f);
  849. OtherGroup.PlaceLabledControl("Viewmodel FOV Changer", this, &OtherViewmodelFOV);
  850.  
  851. OtherFOV.SetFileId("otr_fov");
  852. OtherFOV.SetBoundaries(0.f, 180.f);
  853. OtherFOV.SetValue(90.f);
  854. OtherGroup.PlaceLabledControl("Field of View Changer", this, &OtherFOV);
  855.  
  856. AmbientRed.SetFileId("otr_ambientred");
  857. AmbientRed.SetBoundaries(0.f, 10.f);
  858. AmbientRed.SetValue(0.f);
  859. OtherGroup.PlaceLabledControl("Ambient Red", this, &AmbientRed);
  860.  
  861. AmbientGreen.SetFileId("otr_ambientgreen");
  862. AmbientGreen.SetBoundaries(0.f, 10.f);
  863. AmbientGreen.SetValue(0.f);
  864. OtherGroup.PlaceLabledControl("Ambient Green", this, &AmbientGreen);
  865.  
  866. AmbientBlue.SetFileId("otr_ambientblue");
  867. AmbientBlue.SetBoundaries(0.f, 10.f);
  868. AmbientBlue.SetValue(0.f);
  869. OtherGroup.PlaceLabledControl("Ambient Blue", this, &AmbientBlue);
  870.  
  871. #pragma endregion Setting up the Other controls
  872. }
  873.  
  874. void CMiscTab::Setup()
  875. {
  876. SetTitle("G");
  877.  
  878.  
  879. #pragma region Other
  880. OtherGroup.SetPosition(408, -15);
  881. OtherGroup.SetSize(360, 422);
  882. OtherGroup.SetText("Other");
  883. RegisterControl(&OtherGroup);
  884.  
  885. OtherSafeMode.SetFileId("otr_safemode");
  886. OtherSafeMode.SetState(true);
  887. OtherGroup.PlaceLabledControl("Anti Untrusted", this, &OtherSafeMode);
  888.  
  889. OtherThirdperson.SetFileId("aa_thirdpsr");
  890. OtherGroup.PlaceLabledControl("Force Thirdperson", this, &OtherThirdperson);
  891.  
  892. OtherCircleStrafe.SetFileId("otr_circlestrafe");
  893. OtherGroup.PlaceLabledControl("Circular Strafe", this, &OtherCircleStrafe);
  894.  
  895. AutoPistol.SetFileId("otr_autopistol");
  896. OtherGroup.PlaceLabledControl("Auto Pistol", this, &AutoPistol);
  897.  
  898. OtherAutoJump.SetFileId("otr_autojump");
  899. OtherGroup.PlaceLabledControl("Auto Jump", this, &OtherAutoJump);
  900.  
  901. OtherAutoStrafe.SetFileId("otr_strafe");
  902. OtherAutoStrafe.AddItem("Off");
  903. OtherAutoStrafe.AddItem("Legit");
  904. OtherAutoStrafe.AddItem("Rage");
  905. OtherGroup.PlaceLabledControl("Auto Strafer", this, &OtherAutoStrafe);
  906.  
  907. NameChanger.SetFileId("otr_spam");
  908. NameChanger.AddItem("Off");
  909. NameChanger.AddItem("Name Spam");
  910. NameChanger.AddItem("No Name");
  911. NameChanger.AddItem("Name Steal");
  912. OtherGroup.PlaceLabledControl("Name Changer", this, &NameChanger);
  913.  
  914. ChatSpam.SetFileId("otr_chatspam");
  915. OtherGroup.PlaceLabledControl("Chat Spam", this, &ChatSpam);
  916.  
  917. TrashTalk.SetFileId("otr_trashtalk");
  918. OtherGroup.PlaceLabledControl("Flame Enemy", this, &TrashTalk);
  919.  
  920. OtherTeamChat.SetFileId("otr_teamchat");
  921. OtherGroup.PlaceLabledControl("Team Chat Only", this, &OtherTeamChat);
  922.  
  923. ClanTag.SetFileId("otr_clantag");
  924. OtherGroup.PlaceLabledControl("Spam Clantag", this, &ClanTag);
  925.  
  926. OtherMoonwalk.SetFileId("Moonwalk");
  927. OtherGroup.PlaceLabledControl("Moonwalk", this, &OtherMoonwalk);
  928.  
  929. OtherChatDelay.SetFileId("otr_chatdelay");
  930. OtherChatDelay.SetBoundaries(0.1, 3.0);
  931. OtherChatDelay.SetValue(0.5);
  932. OtherGroup.PlaceLabledControl("Spam Delay", this, &OtherChatDelay);
  933.  
  934. OtherAirStuck.SetFileId("otr_astuck");
  935. OtherGroup.PlaceLabledControl("Air Stuck", this, &OtherAirStuck);
  936.  
  937. OtherCircleButton.SetFileId("otr_circlestrafebutton");
  938. OtherGroup.PlaceLabledControl("Circle Key", this, &OtherCircleButton);
  939.  
  940. OtherSlowMotion.SetFileId("otr_slowmotionbutton");
  941. OtherGroup.PlaceLabledControl("Slow Motion", this, &OtherSlowMotion);
  942.  
  943. FakeWalk.SetFileId("otr_fakewalk");
  944. OtherGroup.PlaceLabledControl("Fake Walk", this, &FakeWalk);
  945.  
  946. #pragma endregion other random options
  947.  
  948. #pragma region FakeLag
  949. FakeLagGroup.SetPosition(16, -15);
  950. FakeLagGroup.SetSize(360, 105);
  951. FakeLagGroup.SetText("Fakelag");
  952. RegisterControl(&FakeLagGroup);
  953.  
  954. FakeLagEnable.SetFileId("fakelag_enable");
  955. FakeLagGroup.PlaceLabledControl("Enable", this, &FakeLagEnable);
  956.  
  957. FakeLagChoke.SetFileId("fakelag_choke");
  958. FakeLagChoke.SetBoundaries(0, 18);
  959. FakeLagChoke.SetValue(0);
  960. FakeLagGroup.PlaceLabledControl("Choke Factor", this, &FakeLagChoke);
  961.  
  962. FakeLagTyp.SetFileId("fakelag_typ");
  963. FakeLagTyp.AddItem("Off");
  964. FakeLagTyp.AddItem("Normal");
  965. FakeLagTyp.AddItem("Adaptive");
  966. FakeLagTyp.AddItem("Normal - In Air");
  967. FakeLagTyp.AddItem("Adaptive - In Air");
  968. FakeLagTyp.AddItem("Normal - Break Lagcomp");
  969. FakeLagGroup.PlaceOtherControl("Mode", this, &FakeLagTyp);
  970.  
  971. #pragma endregion fakelag shit
  972.  
  973. #pragma region Buybot
  974. BuyBotGroup.SetPosition(16, 105);
  975. BuyBotGroup.SetSize(360, 150);
  976. BuyBotGroup.SetText("Buybot");
  977. RegisterControl(&BuyBotGroup);
  978.  
  979. EnableBuyBot.SetFileId("bb_enable");
  980. BuyBotGroup.PlaceLabledControl("Enable", this, &EnableBuyBot);
  981.  
  982. BuyBot.SetFileId("buybot");
  983. BuyBot.AddItem("Off");
  984. BuyBot.AddItem("Ak/M4");
  985. BuyBot.AddItem("Scout");
  986. BuyBot.AddItem("Auto + Duals");
  987. BuyBotGroup.PlaceLabledControl("Buy Bot", this, &BuyBot);
  988.  
  989. BuyBotGrenades.SetFileId("buybot_grenades");
  990. BuyBotGrenades.AddItem("Off");
  991. BuyBotGrenades.AddItem("Flash + Smoke + HE");
  992. BuyBotGrenades.AddItem("Flash + Smoke + HE + Molo");
  993. BuyBotGroup.PlaceLabledControl("Buy Grenades", this, &BuyBotGrenades);
  994.  
  995. BuyBotKevlar.SetFileId("buybot_kevlar");
  996. BuyBotGroup.PlaceLabledControl("Buy Armor", this, &BuyBotKevlar);
  997.  
  998. BuyBotDefuser.SetFileId("buybot_defuser");
  999. BuyBotGroup.PlaceLabledControl("Buy Defuse Kit", this, &BuyBotDefuser);
  1000.  
  1001.  
  1002.  
  1003.  
  1004. #pragma endregion Buybot
  1005. }
  1006.  
  1007. void CColorTab::Setup()
  1008. {
  1009. SetTitle("H");
  1010. #pragma region Visual Colors
  1011. ColorsGroup.SetPosition(16, -15);
  1012. ColorsGroup.SetText("Colors");
  1013. ColorsGroup.SetSize(360, 545);
  1014. RegisterControl(&ColorsGroup);
  1015.  
  1016. CTColorVisR.SetFileId("ct_color_vis_r");
  1017. CTColorVisR.SetBoundaries(0.f, 255.f);
  1018. CTColorVisR.SetValue(0.f);
  1019. ColorsGroup.PlaceLabledControl("CT visible red", this, &CTColorVisR);
  1020.  
  1021. CTColorVisG.SetFileId("ct_color_vis_g");
  1022. CTColorVisG.SetBoundaries(0.f, 255.f);
  1023. CTColorVisG.SetValue(230.f);
  1024. ColorsGroup.PlaceLabledControl("CT visible green", this, &CTColorVisG);
  1025.  
  1026. CTColorVisB.SetFileId("ct_color_vis_b");
  1027. CTColorVisB.SetBoundaries(0.f, 255.f);
  1028. CTColorVisB.SetValue(15.f);
  1029. ColorsGroup.PlaceLabledControl("CT visible blue", this, &CTColorVisB);
  1030.  
  1031. CTColorNoVisR.SetFileId("ct_color_no_vis_r");
  1032. CTColorNoVisR.SetBoundaries(0.f, 255.f);
  1033. CTColorNoVisR.SetValue(0.f);
  1034. ColorsGroup.PlaceLabledControl("CT not visible red", this, &CTColorNoVisR);
  1035.  
  1036. CTColorNoVisG.SetFileId("ct_color_no_vis_g");
  1037. CTColorNoVisG.SetBoundaries(0.f, 255.f);
  1038. CTColorNoVisG.SetValue(235.f);
  1039. ColorsGroup.PlaceLabledControl("CT Not Visible Green", this, &CTColorNoVisG);
  1040.  
  1041. CTColorNoVisB.SetFileId("ct_color_no_vis_b");
  1042. CTColorNoVisB.SetBoundaries(0.f, 255.f);
  1043. CTColorNoVisB.SetValue(10.f);
  1044. ColorsGroup.PlaceLabledControl("CT Not Visible Blue", this, &CTColorNoVisB);
  1045.  
  1046. TColorVisR.SetFileId("t_color_vis_r");
  1047. TColorVisR.SetBoundaries(0.f, 255.f);
  1048. TColorVisR.SetValue(0.f);
  1049. ColorsGroup.PlaceLabledControl("T Visible Red", this, &TColorVisR);
  1050.  
  1051. TColorVisG.SetFileId("t_color_vis_g");
  1052. TColorVisG.SetBoundaries(0.f, 255.f);
  1053. TColorVisG.SetValue(50.f);
  1054. ColorsGroup.PlaceLabledControl("T Visible Green", this, &TColorVisG);
  1055.  
  1056. TColorVisB.SetFileId("t_color_vis_b");
  1057. TColorVisB.SetBoundaries(0.f, 255.f);
  1058. TColorVisB.SetValue(220.f);
  1059. ColorsGroup.PlaceLabledControl("T Visible Blue", this, &TColorVisB);
  1060.  
  1061. TColorNoVisR.SetFileId("t_color_no_vis_r");
  1062. TColorNoVisR.SetBoundaries(0.f, 255.f);
  1063. TColorNoVisR.SetValue(0.f);
  1064. ColorsGroup.PlaceLabledControl("T Not Visible Red", this, &TColorNoVisR);
  1065.  
  1066. TColorNoVisG.SetFileId("t_color_no_vis_g");
  1067. TColorNoVisG.SetBoundaries(0.f, 255.f);
  1068. TColorNoVisG.SetValue(50.f);
  1069. ColorsGroup.PlaceLabledControl("T Not Visible Green", this, &TColorNoVisG);
  1070.  
  1071. TColorNoVisB.SetFileId("t_color_no_vis_b");
  1072. TColorNoVisB.SetBoundaries(0.f, 255.f);
  1073. TColorNoVisB.SetValue(220.f);
  1074. ColorsGroup.PlaceLabledControl("T Not Visible Blue", this, &TColorNoVisB);
  1075.  
  1076. GlowR.SetFileId("GlowR");
  1077. GlowR.SetBoundaries(0.f, 255.f);
  1078. GlowR.SetValue(230.f);
  1079. ColorsGroup.PlaceLabledControl("Glow Red", this, &GlowR);
  1080.  
  1081. GlowG.SetFileId("GlowG");
  1082. GlowG.SetBoundaries(0.f, 255.f);
  1083. GlowG.SetValue(0.f);
  1084. ColorsGroup.PlaceLabledControl("Glow Green", this, &GlowG);
  1085.  
  1086. GlowB.SetFileId("GlowB");
  1087. GlowB.SetBoundaries(0.f, 255.f);
  1088. GlowB.SetValue(0.f);
  1089. ColorsGroup.PlaceLabledControl("Glow Blue", this, &GlowB);
  1090.  
  1091. CTChamsR.SetFileId("ctchamsr");
  1092. CTChamsR.SetBoundaries(0.f, 255.f);
  1093. CTChamsR.SetValue(40.f);
  1094. ColorsGroup.PlaceLabledControl("CT Chams Red", this, &CTChamsR);
  1095.  
  1096. CTChamsG.SetFileId("ctchamsg");
  1097. CTChamsG.SetBoundaries(0.f, 255.f);
  1098. CTChamsG.SetValue(120.f);
  1099. ColorsGroup.PlaceLabledControl("CT Chams Green", this, &CTChamsG);
  1100.  
  1101. CTChamsB.SetFileId("ctchamsb");
  1102. CTChamsB.SetBoundaries(0.f, 255.f);
  1103. CTChamsB.SetValue(170.f);
  1104. ColorsGroup.PlaceLabledControl("CT Chams Blue", this, &CTChamsB);
  1105.  
  1106. TChamsR.SetFileId("tchamsr");
  1107. TChamsR.SetBoundaries(0.f, 255.f);
  1108. TChamsR.SetValue(210.f);
  1109. ColorsGroup.PlaceLabledControl("T Chams Red", this, &TChamsR);
  1110.  
  1111. TChamsG.SetFileId("tchamsg");
  1112. TChamsG.SetBoundaries(0.f, 255.f);
  1113. TChamsG.SetValue(20.f);
  1114. ColorsGroup.PlaceLabledControl("T Chams Green", this, &TChamsG);
  1115.  
  1116. TChamsB.SetFileId("tchamsb");
  1117. TChamsB.SetBoundaries(0.f, 255.f);
  1118. TChamsB.SetValue(70.f);
  1119. ColorsGroup.PlaceLabledControl("T Chams Blue", this, &TChamsB);
  1120.  
  1121. ConfigGroup.SetPosition(400, -15);
  1122. ConfigGroup.SetText("Preset Config");
  1123. ConfigGroup.SetSize(376, 85);
  1124. RegisterControl(&ConfigGroup);
  1125.  
  1126. ConfigBox.SetFileId("cfg_box");
  1127. ConfigBox.AddItem("legit");
  1128. ConfigBox.AddItem("rage");
  1129. ConfigBox.AddItem("mm hvh");
  1130. ConfigBox.AddItem("casual");
  1131. ConfigGroup.PlaceLabledControl("Config", this, &ConfigBox);
  1132. #pragma endregion
  1133.  
  1134. #pragma region GloveModel
  1135. Gloves.SetPosition(400, 90);
  1136. Gloves.SetText("Override Gloves");
  1137. Gloves.SetSize(376, 100);
  1138. RegisterControl(&Gloves);
  1139.  
  1140. EnableGloves.SetFileId("gloves_enable");
  1141. Gloves.PlaceLabledControl("Enable Glovechanger", this, &EnableGloves);
  1142.  
  1143. GloveModel.SetFileId("glove_model");
  1144. GloveModel.AddItem("Off");
  1145. GloveModel.AddItem("Bloodhound");
  1146. GloveModel.AddItem("Handwrap");
  1147. GloveModel.AddItem("Driver");
  1148. GloveModel.AddItem("Sport");
  1149. GloveModel.AddItem("Motorcycle");
  1150. GloveModel.AddItem("Specialist");
  1151. Gloves.PlaceLabledControl("Glove Model", this, &GloveModel);
  1152.  
  1153. GloveSkin.SetFileId("glove_skin");
  1154. GloveSkin.AddItem("Off");
  1155. GloveSkin.AddItem("Bloodhound - Snakebite");
  1156. GloveSkin.AddItem("Bloodhound - Charred");
  1157. GloveSkin.AddItem("Bloodhound - Guerrilla");
  1158. GloveSkin.AddItem("Bloodhound - Bronzed");
  1159. GloveSkin.AddItem("Handwrap - Slaughter");
  1160. GloveSkin.AddItem("Handwrap - Badlands");
  1161. GloveSkin.AddItem("Handwrap - Leather");
  1162. GloveSkin.AddItem("Handwrap - Spruce DDPAT");
  1163. GloveSkin.AddItem("Driver - Crimson Weave");
  1164. GloveSkin.AddItem("Driver - Lunar Weave");
  1165. GloveSkin.AddItem("Driver - Diamondback");
  1166. GloveSkin.AddItem("Driver - Convoy");
  1167. GloveSkin.AddItem("Sport - Pandoras Box");
  1168. GloveSkin.AddItem("Sport - Hedge Naze");
  1169. GloveSkin.AddItem("Sport - Superconductor");
  1170. GloveSkin.AddItem("Sport - Arid");
  1171. GloveSkin.AddItem("Motorcycle - Spearmint");
  1172. GloveSkin.AddItem("Motorcycle - Cool Mint");
  1173. GloveSkin.AddItem("Motorcycle - Boom");
  1174. GloveSkin.AddItem("Motorcycle - Eclipse");
  1175. GloveSkin.AddItem("Specialist - Crimson Kimono");
  1176. GloveSkin.AddItem("Specialist - Emerald Web");
  1177. GloveSkin.AddItem("Specialist - Foundation");
  1178. GloveSkin.AddItem("Specialist - Forest DDPAT");
  1179. Gloves.PlaceLabledControl("Glove Skin", this, &GloveSkin);
  1180.  
  1181. GlovesApply.SetText("Apply Gloves");
  1182. GlovesApply.SetCallback(GlovesApplyCallbk);
  1183. GlovesApply.SetPosition(407, 200);
  1184. GlovesApply.SetSize(360, 106);
  1185. RegisterControl(&GlovesApply);
  1186.  
  1187. #pragma endregion
  1188. }
  1189.  
  1190. void CSkinchangerTab::Setup()
  1191. {
  1192. SetTitle("B");
  1193.  
  1194. SkinActive.SetPosition(16, -15);
  1195. SkinActive.SetText("Active");
  1196. RegisterControl(&SkinActive);
  1197.  
  1198. SkinEnable.SetFileId("skin_enable");
  1199. SkinEnable.SetPosition(66, -15);
  1200. RegisterControl(&SkinEnable);
  1201.  
  1202. #pragma region Knife
  1203. KnifeGroup.SetPosition(16, 11);
  1204. KnifeGroup.SetText("Knife");
  1205. KnifeGroup.SetSize(376, 80);
  1206. RegisterControl(&KnifeGroup);
  1207.  
  1208. KnifeModel.SetFileId("knife_model");
  1209. KnifeModel.AddItem("Bayonet");
  1210. KnifeModel.AddItem("Bowie Knife");
  1211. KnifeModel.AddItem("Butterfly Knife");
  1212. KnifeModel.AddItem("Falchion Knife");
  1213. KnifeModel.AddItem("Flip Knife");
  1214. KnifeModel.AddItem("Gut Knife");
  1215. KnifeModel.AddItem("Huntsman Knife");
  1216. KnifeModel.AddItem("Karambit");
  1217. KnifeModel.AddItem("M9 Bayonet");
  1218. KnifeModel.AddItem("Shadow Daggers");
  1219. KnifeGroup.PlaceLabledControl("Knife", this, &KnifeModel);
  1220.  
  1221. KnifeSkin.SetFileId("knife_skin");
  1222. KnifeGroup.PlaceLabledControl("Skin ID", this, &KnifeSkin);
  1223. #pragma endregion
  1224.  
  1225. #pragma region Machineguns
  1226. MachinegunsGroup.SetPosition(408, 11);
  1227. MachinegunsGroup.SetText("Heavy");
  1228. MachinegunsGroup.SetSize(360, 80);
  1229. RegisterControl(&MachinegunsGroup);
  1230.  
  1231. NEGEVSkin.SetFileId("negev_skin");
  1232. NEGEVSkin.AddItem("Anodized Navy");
  1233. NEGEVSkin.AddItem("Man-o'-war");
  1234. NEGEVSkin.AddItem("Bratatat");
  1235. NEGEVSkin.AddItem("Desert-Strike");
  1236. NEGEVSkin.AddItem("Nuclear Waste");
  1237. NEGEVSkin.AddItem("Loudmouth");
  1238. NEGEVSkin.AddItem("Power Loader");
  1239. MachinegunsGroup.PlaceLabledControl("Negev", this, &NEGEVSkin);
  1240.  
  1241. M249Skin.SetFileId("m249_skin");
  1242. M249Skin.AddItem("System Lock");
  1243. M249Skin.AddItem("Shipping Forecast");
  1244. M249Skin.AddItem("Impact Drill");
  1245. M249Skin.AddItem("Nebula Crusader");
  1246. M249Skin.AddItem("Spectre");
  1247. MachinegunsGroup.PlaceLabledControl("M249", this, &M249Skin);
  1248.  
  1249. #pragma endregion
  1250.  
  1251. #pragma region Snipers
  1252. Snipergroup.SetPosition(16, 98);
  1253. Snipergroup.SetText("Snipers");
  1254. Snipergroup.SetSize(376, 125);
  1255. RegisterControl(&Snipergroup);
  1256.  
  1257. AWPSkin.SetFileId("awp_skin");
  1258. AWPSkin.AddItem("BOOM");
  1259. AWPSkin.AddItem("Dragon Lore");
  1260. AWPSkin.AddItem("Pink DDPAT");
  1261. AWPSkin.AddItem("Fever Dream");
  1262. AWPSkin.AddItem("Lightning Strike");
  1263. AWPSkin.AddItem("Corticera");
  1264. AWPSkin.AddItem("Redline");
  1265. AWPSkin.AddItem("Man-o'-war");
  1266. AWPSkin.AddItem("Graphite");
  1267. AWPSkin.AddItem("Electric Hive");
  1268. AWPSkin.AddItem("Pit Viper");
  1269. AWPSkin.AddItem("Asiimov");
  1270. AWPSkin.AddItem("Oni Taiji");
  1271. AWPSkin.AddItem("Medusa");
  1272. AWPSkin.AddItem("Sun in Leo");
  1273. AWPSkin.AddItem("Hyper Beast");
  1274. AWPSkin.AddItem("Elite Build");
  1275. Snipergroup.PlaceLabledControl("AWP", this, &AWPSkin);
  1276.  
  1277. SSG08Skin.SetFileId("sgg08_skin");
  1278. SSG08Skin.AddItem("Dragonfire");
  1279. SSG08Skin.AddItem("Blood in the Water");
  1280. SSG08Skin.AddItem("Ghost Crusader");
  1281. SSG08Skin.AddItem("Detour");
  1282. SSG08Skin.AddItem("Abyss");
  1283. SSG08Skin.AddItem("Big Iron");
  1284. Snipergroup.PlaceLabledControl("SGG 08", this, &SSG08Skin);
  1285.  
  1286. SCAR20Skin.SetFileId("scar20_skin");
  1287. SCAR20Skin.AddItem("Splash Jam");
  1288. SCAR20Skin.AddItem("Emerald");
  1289. SCAR20Skin.AddItem("Crimson Web");
  1290. SCAR20Skin.AddItem("Cardiac");
  1291. SCAR20Skin.AddItem("Bloodsport");
  1292. SCAR20Skin.AddItem("Cyrex");
  1293. SCAR20Skin.AddItem("Grotto");
  1294. Snipergroup.PlaceLabledControl("SCAR-20", this, &SCAR20Skin);
  1295.  
  1296. G3SG1Skin.SetFileId("g3sg1_skin");
  1297. G3SG1Skin.AddItem("Demeter");
  1298. G3SG1Skin.AddItem("Azure Zebra");
  1299. G3SG1Skin.AddItem("Green Apple");
  1300. G3SG1Skin.AddItem("Orange Kimono");
  1301. G3SG1Skin.AddItem("Neon Kimono");
  1302. G3SG1Skin.AddItem("Murky");
  1303. G3SG1Skin.AddItem("Chronos");
  1304. G3SG1Skin.AddItem("Flux");
  1305. G3SG1Skin.AddItem("The Executioner");
  1306. Snipergroup.PlaceLabledControl("G3SG1", this, &G3SG1Skin);
  1307. #pragma endregion
  1308.  
  1309. #pragma region Shotguns
  1310. Shotgungroup.SetPosition(408, 98);
  1311. Shotgungroup.SetText("Shotguns");
  1312. Shotgungroup.SetSize(360, 125);
  1313. RegisterControl(&Shotgungroup);
  1314.  
  1315. MAG7Skin.SetFileId("mag7_skin");
  1316. MAG7Skin.AddItem("Counter Terrace");
  1317. MAG7Skin.AddItem("Bulldozer");
  1318. MAG7Skin.AddItem("Heat");
  1319. Shotgungroup.PlaceLabledControl("Mag-7", this, &MAG7Skin);
  1320.  
  1321. XM1014Skin.SetFileId("xm1014_skin");
  1322. XM1014Skin.AddItem("Tranquality");
  1323. XM1014Skin.AddItem("Teclu Burner");
  1324. XM1014Skin.AddItem("Scumbria");
  1325. XM1014Skin.AddItem("Heaven Guard");
  1326. XM1014Skin.AddItem("Quicksilver");
  1327. Shotgungroup.PlaceLabledControl("XM1014", this, &XM1014Skin);
  1328.  
  1329. SAWEDOFFSkin.SetFileId("sawedoff_skin");
  1330. SAWEDOFFSkin.AddItem("Serenity");
  1331. SAWEDOFFSkin.AddItem("Orange DDPAT");
  1332. SAWEDOFFSkin.AddItem("Fade");
  1333. SAWEDOFFSkin.AddItem("The Kraken");
  1334. SAWEDOFFSkin.AddItem("Wasteland Princess");
  1335. SAWEDOFFSkin.AddItem("Highwayman");
  1336. Shotgungroup.PlaceLabledControl("Sawed-Off", this, &SAWEDOFFSkin);
  1337.  
  1338. NOVASkin.SetFileId("nova_skin");
  1339. NOVASkin.AddItem("Candy Apple");
  1340. NOVASkin.AddItem("Blaze Orange");
  1341. NOVASkin.AddItem("Modern Hunter");
  1342. NOVASkin.AddItem("Forest Leaves");
  1343. NOVASkin.AddItem("Bloomstick");
  1344. NOVASkin.AddItem("Sand Dune");
  1345. NOVASkin.AddItem("Polar Mesh");
  1346. NOVASkin.AddItem("Walnut");
  1347. NOVASkin.AddItem("Predator");
  1348. NOVASkin.AddItem("Tempest");
  1349. NOVASkin.AddItem("Graphite");
  1350. NOVASkin.AddItem("Ghost Camo");
  1351. NOVASkin.AddItem("Rising Skull");
  1352. NOVASkin.AddItem("Antique");
  1353. NOVASkin.AddItem("Green Apple");
  1354. NOVASkin.AddItem("Caged Steel");
  1355. NOVASkin.AddItem("Koi");
  1356. NOVASkin.AddItem("Moon in Libra");
  1357. NOVASkin.AddItem("Ranger");
  1358. NOVASkin.AddItem("HyperBeast");
  1359. Shotgungroup.PlaceLabledControl("Nova", this, &NOVASkin);
  1360. #pragma endregion
  1361.  
  1362. #pragma region Rifles
  1363. Riflegroup.SetPosition(16, 233);
  1364. Riflegroup.SetText("Rifles");
  1365. Riflegroup.SetSize(376, 200);
  1366. RegisterControl(&Riflegroup);
  1367.  
  1368. AK47Skin.SetFileId("ak47_skin");
  1369. AK47Skin.AddItem("First Class");
  1370. AK47Skin.AddItem("Red Laminate");
  1371. AK47Skin.AddItem("Case Hardened");
  1372. AK47Skin.AddItem("Black Laminate");
  1373. AK47Skin.AddItem("Fire Serpent");
  1374. AK47Skin.AddItem("Cartel");
  1375. AK47Skin.AddItem("Emerald Pinstripe");
  1376. AK47Skin.AddItem("Blue Laminate");
  1377. AK47Skin.AddItem("Redline");
  1378. AK47Skin.AddItem("Vulcan");
  1379. AK47Skin.AddItem("Jaguar");
  1380. AK47Skin.AddItem("Jet Set");
  1381. AK47Skin.AddItem("Wasteland Rebel");
  1382. AK47Skin.AddItem("Orbit Mk01");
  1383. AK47Skin.AddItem("Hydroponic");
  1384. AK47Skin.AddItem("Aquamarine Revenge");
  1385. AK47Skin.AddItem("Frontside Misty");
  1386. AK47Skin.AddItem("Point Disarray");
  1387. AK47Skin.AddItem("Fuel Injector");
  1388. AK47Skin.AddItem("Neon Revolution");
  1389. AK47Skin.AddItem("Bloodsport");
  1390. Riflegroup.PlaceLabledControl("AK-47", this, &AK47Skin);
  1391.  
  1392. M41SSkin.SetFileId("m4a1s_skin");
  1393. M41SSkin.AddItem("Dark Water");
  1394. M41SSkin.AddItem("Hyper Beast");
  1395. M41SSkin.AddItem("Decimator");
  1396. M41SSkin.AddItem("VariCamo");
  1397. M41SSkin.AddItem("Nitro");
  1398. M41SSkin.AddItem("Bright Water");
  1399. M41SSkin.AddItem("Atomic Alloy");
  1400. M41SSkin.AddItem("Blood Tiger");
  1401. M41SSkin.AddItem("Guardian");
  1402. M41SSkin.AddItem("Master Piece");
  1403. M41SSkin.AddItem("Knight");
  1404. M41SSkin.AddItem("Cyrex");
  1405. M41SSkin.AddItem("Basilisk");
  1406. M41SSkin.AddItem("Icarus Fell");
  1407. M41SSkin.AddItem("Hot Rod");
  1408. M41SSkin.AddItem("Golden Coi");
  1409. M41SSkin.AddItem("Chantico's Fire");
  1410. M41SSkin.AddItem("Mecha Industries");
  1411. M41SSkin.AddItem("Flashback");
  1412. Riflegroup.PlaceLabledControl("M4A1-S", this, &M41SSkin);
  1413.  
  1414. M4A4Skin.SetFileId("m4a4_skin");
  1415. M4A4Skin.AddItem("Bullet Rain");
  1416. M4A4Skin.AddItem("Zirka");
  1417. M4A4Skin.AddItem("Asiimov");
  1418. M4A4Skin.AddItem("Howl");
  1419. M4A4Skin.AddItem("X-Ray");
  1420. M4A4Skin.AddItem("Desert-Strike");
  1421. M4A4Skin.AddItem("Griffin");
  1422. M4A4Skin.AddItem("Dragon King");
  1423. M4A4Skin.AddItem("Poseidon");
  1424. M4A4Skin.AddItem("Daybreak");
  1425. M4A4Skin.AddItem("Evil Daimyo");
  1426. M4A4Skin.AddItem("Royal Paladin");
  1427. M4A4Skin.AddItem("The BattleStar");
  1428. M4A4Skin.AddItem("Desolate Space");
  1429. M4A4Skin.AddItem("Buzz Kill");
  1430. M4A4Skin.AddItem("Hellfire");
  1431. Riflegroup.PlaceLabledControl("M4A4", this, &M4A4Skin);
  1432.  
  1433. AUGSkin.SetFileId("aug_skin");
  1434. AUGSkin.AddItem("Bengal Tiger");
  1435. AUGSkin.AddItem("Hot Rod");
  1436. AUGSkin.AddItem("Chameleon");
  1437. AUGSkin.AddItem("Torque");
  1438. AUGSkin.AddItem("Radiation Hazard");
  1439. AUGSkin.AddItem("Asterion");
  1440. AUGSkin.AddItem("Daedalus");
  1441. AUGSkin.AddItem("Akihabara Accept");
  1442. AUGSkin.AddItem("Ricochet");
  1443. AUGSkin.AddItem("Fleet Flock");
  1444. AUGSkin.AddItem("Syd Mead");
  1445. Riflegroup.PlaceLabledControl("AUG", this, &AUGSkin);
  1446.  
  1447. FAMASSkin.SetFileId("famas_skin");
  1448. FAMASSkin.AddItem("Djinn");
  1449. FAMASSkin.AddItem("Afterimage");
  1450. FAMASSkin.AddItem("Doomkitty");
  1451. FAMASSkin.AddItem("Spitfire");
  1452. FAMASSkin.AddItem("Teardown");
  1453. FAMASSkin.AddItem("Hexane");
  1454. FAMASSkin.AddItem("Pulse");
  1455. FAMASSkin.AddItem("Sergeant");
  1456. FAMASSkin.AddItem("Styx");
  1457. FAMASSkin.AddItem("Neural Net");
  1458. FAMASSkin.AddItem("Survivor");
  1459. FAMASSkin.AddItem("Valence");
  1460. FAMASSkin.AddItem("Roll Cage");
  1461. FAMASSkin.AddItem("Mecha Industries");
  1462. Riflegroup.PlaceLabledControl("FAMAS", this, &FAMASSkin);
  1463.  
  1464. GALILSkin.SetFileId("galil_skin");
  1465. GALILSkin.AddItem("Orange DDPAT");
  1466. GALILSkin.AddItem("Eco");
  1467. GALILSkin.AddItem("Stone Cold");
  1468. GALILSkin.AddItem("Cerberus");
  1469. GALILSkin.AddItem("Aqua Terrace");
  1470. GALILSkin.AddItem("Chatterbox");
  1471. GALILSkin.AddItem("Firefight");
  1472. GALILSkin.AddItem("Rocket Pop");
  1473. GALILSkin.AddItem("Sugar Rush");
  1474. Riflegroup.PlaceLabledControl("GALIL", this, &GALILSkin);
  1475.  
  1476. SG553Skin.SetFileId("sg552_skin");
  1477. SG553Skin.AddItem("Bulldozer");
  1478. SG553Skin.AddItem("Ultraviolet");
  1479. SG553Skin.AddItem("Damascus Steel");
  1480. SG553Skin.AddItem("Fallout Warning");
  1481. SG553Skin.AddItem("Damascus Steel");
  1482. SG553Skin.AddItem("Pulse");
  1483. SG553Skin.AddItem("Army Sheen");
  1484. SG553Skin.AddItem("Traveler");
  1485. SG553Skin.AddItem("Fallout Warning");
  1486. SG553Skin.AddItem("Cyrex");
  1487. SG553Skin.AddItem("Tiger Moth");
  1488. SG553Skin.AddItem("Atlas");
  1489. Riflegroup.PlaceLabledControl("SG553", this, &SG553Skin);
  1490. #pragma endregion
  1491.  
  1492. #pragma region MPs
  1493. MPGroup.SetPosition(16, 443);
  1494. MPGroup.SetText("MPs");
  1495. MPGroup.SetSize(376, 173);
  1496. RegisterControl(&MPGroup);
  1497.  
  1498. MAC10Skin.SetFileId("mac10_skin");
  1499. MAC10Skin.AddItem("Fade");
  1500. MAC10Skin.AddItem("Neon Rider");
  1501. MAC10Skin.AddItem("Ultraviolet");
  1502. MAC10Skin.AddItem("Palm");
  1503. MAC10Skin.AddItem("Graven");
  1504. MAC10Skin.AddItem("Tatter");
  1505. MAC10Skin.AddItem("Amber Fade");
  1506. MAC10Skin.AddItem("Heat");
  1507. MAC10Skin.AddItem("Curse");
  1508. MAC10Skin.AddItem("Indigo");
  1509. MAC10Skin.AddItem("Commuter");
  1510. MAC10Skin.AddItem("Nuclear Garden");
  1511. MAC10Skin.AddItem("Malachite");
  1512. MAC10Skin.AddItem("Rangeen");
  1513. MAC10Skin.AddItem("Lapis Gator");
  1514. MPGroup.PlaceLabledControl("MAC-10", this, &MAC10Skin);
  1515.  
  1516. P90Skin.SetFileId("p90_skin");
  1517. P90Skin.AddItem("Cold Blooded");
  1518. P90Skin.AddItem("Death by Kitty");
  1519. P90Skin.AddItem("Shapewood");
  1520. P90Skin.AddItem("Emerald Dragon");
  1521. P90Skin.AddItem("Asiimov");
  1522. P90Skin.AddItem("Virus");
  1523. MPGroup.PlaceLabledControl("P90", this, &P90Skin);
  1524.  
  1525. UMP45Skin.SetFileId("ump45_skin");
  1526. UMP45Skin.AddItem("Blaze");
  1527. UMP45Skin.AddItem("Primal Saber");
  1528. UMP45Skin.AddItem("Minotaurs Labyrinth");
  1529. UMP45Skin.AddItem("Grand Prix");
  1530. MPGroup.PlaceLabledControl("UMP-45", this, &UMP45Skin);
  1531.  
  1532. BIZONSkin.SetFileId("bizon_skin");
  1533. BIZONSkin.AddItem("Blue Streak");
  1534. BIZONSkin.AddItem("Antique");
  1535. BIZONSkin.AddItem("Judgement of Anubis");
  1536. BIZONSkin.AddItem("Osiris");
  1537. BIZONSkin.AddItem("Fuel Rod");
  1538. MPGroup.PlaceLabledControl("PP-Bizon", this, &BIZONSkin);
  1539.  
  1540. MP7Skin.SetFileId("mp7_skin");
  1541. MP7Skin.AddItem("Whiteout");
  1542. MP7Skin.AddItem("Nemesis");
  1543. MP7Skin.AddItem("Impire");
  1544. MPGroup.PlaceLabledControl("MP7", this, &MP7Skin);
  1545.  
  1546. MP9Skin.SetFileId("mp9_skin");
  1547. MP9Skin.AddItem("Ruby Poison Dart");
  1548. MP9Skin.AddItem("Hot Rod");
  1549. MPGroup.PlaceLabledControl("MP9", this, &MP9Skin);
  1550.  
  1551. #pragma endregion
  1552.  
  1553. #pragma region Pistols
  1554. PistolGroup.SetPosition(408, 233);
  1555. PistolGroup.SetText("Pistols");
  1556. PistolGroup.SetSize(360, 250);
  1557. RegisterControl(&PistolGroup);
  1558.  
  1559. GLOCKSkin.SetFileId("glock_skin");
  1560. GLOCKSkin.AddItem("Wasteland Rebel");
  1561. GLOCKSkin.AddItem("Twillight Galaxy");
  1562. GLOCKSkin.AddItem("Fade");
  1563. GLOCKSkin.AddItem("Dragon Tattoo");
  1564. GLOCKSkin.AddItem("Water Elemental");
  1565. GLOCKSkin.AddItem("Royal Legion");
  1566. GLOCKSkin.AddItem("Grinder");
  1567. GLOCKSkin.AddItem("Reactor");
  1568. GLOCKSkin.AddItem("Weasel");
  1569. PistolGroup.PlaceLabledControl("Glock", this, &GLOCKSkin);
  1570.  
  1571. USPSSkin.SetFileId("usps_skin");
  1572. USPSSkin.AddItem("Dark Water");;
  1573. USPSSkin.AddItem("Overgrowth");
  1574. USPSSkin.AddItem("Caiman");
  1575. USPSSkin.AddItem("Blood Tiger");
  1576. USPSSkin.AddItem("Serum");
  1577. USPSSkin.AddItem("Neo-Noir");
  1578. USPSSkin.AddItem("Stainless");
  1579. USPSSkin.AddItem("Guardian");
  1580. USPSSkin.AddItem("Orion");
  1581. USPSSkin.AddItem("Road Rash");
  1582. USPSSkin.AddItem("Royal Blue");
  1583. USPSSkin.AddItem("Business Class");
  1584. USPSSkin.AddItem("Para Green");
  1585. USPSSkin.AddItem("Torque");
  1586. USPSSkin.AddItem("Kill Confirmed");
  1587. USPSSkin.AddItem("Lead Conduit");
  1588. USPSSkin.AddItem("Cyrex");
  1589. PistolGroup.PlaceLabledControl("USP-S", this, &USPSSkin);
  1590.  
  1591. DEAGLESkin.SetFileId("deagle_skin");
  1592. DEAGLESkin.AddItem("Blaze");
  1593. DEAGLESkin.AddItem("Oxide Blaze");
  1594. DEAGLESkin.AddItem("Kumicho Dragon");
  1595. DEAGLESkin.AddItem("Sunset Storm");
  1596. PistolGroup.PlaceLabledControl("Deagle", this, &DEAGLESkin);
  1597.  
  1598. DUALSSkin.SetFileId("duals_skin");
  1599. DUALSSkin.AddItem("Dualing Dragons");
  1600. DUALSSkin.AddItem("Anodized Navy");
  1601. DUALSSkin.AddItem("Duelist");
  1602. DUALSSkin.AddItem("Hemoglobin");
  1603. DUALSSkin.AddItem("Marina");
  1604. DUALSSkin.AddItem("Urban Shock");
  1605. PistolGroup.PlaceLabledControl("Duals", this, &DUALSSkin);
  1606.  
  1607. RevolverSkin.SetFileId("revolver_skin");
  1608. RevolverSkin.AddItem("Fade");
  1609. RevolverSkin.AddItem("Crimson Web");
  1610. RevolverSkin.AddItem("Amber Fade");
  1611. RevolverSkin.AddItem("Reboot");
  1612. PistolGroup.PlaceLabledControl("Revolver", this, &RevolverSkin);
  1613.  
  1614. FIVESEVENSkin.SetFileId("fiveseven_skin");
  1615. FIVESEVENSkin.AddItem("Case Hardened");
  1616. FIVESEVENSkin.AddItem("Fowl Play");
  1617. FIVESEVENSkin.AddItem("Retrobution");
  1618. FIVESEVENSkin.AddItem("Triumvirate");
  1619. FIVESEVENSkin.AddItem("Neon Kimono");
  1620. FIVESEVENSkin.AddItem("Monkey Business");
  1621. FIVESEVENSkin.AddItem("Copper Galaxy");
  1622. FIVESEVENSkin.AddItem("Hyper Beast");
  1623. PistolGroup.PlaceLabledControl("Five-Seven", this, &FIVESEVENSkin);
  1624.  
  1625. TECNINESkin.SetFileId("tec9_skin");
  1626. TECNINESkin.AddItem("Terrace");
  1627. TECNINESkin.AddItem("Isaac");
  1628. TECNINESkin.AddItem("Red Quartz");
  1629. TECNINESkin.AddItem("Avalanche");
  1630. TECNINESkin.AddItem("Toxic");
  1631. TECNINESkin.AddItem("Fuel Injector");
  1632. TECNINESkin.AddItem("Re-Entry");
  1633. TECNINESkin.AddItem("Bamboo Forest");
  1634. TECNINESkin.AddItem("Nuclear Threat");
  1635. PistolGroup.PlaceLabledControl("Tec-9", this, &TECNINESkin);
  1636.  
  1637. P2000Skin.SetFileId("p2000_skin");
  1638. P2000Skin.AddItem("Handgun");
  1639. P2000Skin.AddItem("Corticera");
  1640. P2000Skin.AddItem("Ocean Foam");
  1641. P2000Skin.AddItem("Fire Elemental");
  1642. P2000Skin.AddItem("Imperial Dragon");
  1643. P2000Skin.AddItem("Ocean Foam");
  1644. P2000Skin.AddItem("Amber Fade");
  1645. PistolGroup.PlaceLabledControl("P2000", this, &P2000Skin);
  1646.  
  1647. P250Skin.SetFileId("p250_skin");
  1648. P250Skin.AddItem("Whiteout");
  1649. P250Skin.AddItem("Nuclear Threat");
  1650. P250Skin.AddItem("Splash");
  1651. P250Skin.AddItem("Mehndi");
  1652. P250Skin.AddItem("Asiimov");
  1653. P250Skin.AddItem("Undertow");
  1654. P250Skin.AddItem("Franklin");
  1655. P250Skin.AddItem("Supernova");
  1656. P250Skin.AddItem("Cartel");
  1657. PistolGroup.PlaceLabledControl("P250", this, &P250Skin);
  1658.  
  1659. #pragma endregion
  1660.  
  1661. #pragma region Skinsettings
  1662. SkinsettingsGroup.SetPosition(408, 496);
  1663. SkinsettingsGroup.SetText("Customisation");
  1664. SkinsettingsGroup.SetSize(360, 118);
  1665. RegisterControl(&SkinsettingsGroup);
  1666.  
  1667. StatTrakEnable.SetFileId("skin_stattrack");
  1668. SkinsettingsGroup.PlaceLabledControl("Stat Trak", this, &StatTrakEnable);
  1669.  
  1670. StatTrackAmount.SetFileId("skin_stamount");
  1671. SkinsettingsGroup.PlaceLabledControl("Value", this, &StatTrackAmount);
  1672.  
  1673. KnifeName.SetFileId("knife_name");
  1674. SkinsettingsGroup.PlaceLabledControl("Knife Name", this, &KnifeName);
  1675.  
  1676. SkinName.SetFileId("skin_name");
  1677. SkinsettingsGroup.PlaceLabledControl("Skin Name", this, &SkinName);
  1678.  
  1679. SkinApply.SetText("Apply Changes");
  1680. SkinApply.SetCallback(KnifeApplyCallbk);
  1681. SkinApply.SetPosition(408, 618);
  1682. SkinApply.SetSize(360, 106);
  1683. RegisterControl(&SkinApply);
  1684.  
  1685. #pragma endregion
  1686.  
  1687. #pragma endregion other random options
  1688. }
  1689.  
  1690. /*void CPlayersTab::Setup()
  1691. {
  1692. SetTitle("PlayerList");
  1693.  
  1694. #pragma region PList
  1695.  
  1696. pListGroup.SetPosition(16, 16);
  1697. pListGroup.SetSize(680, 200);
  1698. pListGroup.SetText("Player List");
  1699. pListGroup.SetColumns(2);
  1700. RegisterControl(&pListGroup);
  1701.  
  1702. pListPlayers.SetPosition(26, 46);
  1703. pListPlayers.SetSize(640, 50);
  1704. pListPlayers.SetHeightInItems(20);
  1705. RegisterControl(&pListPlayers);
  1706.  
  1707. #pragma endregion
  1708.  
  1709. #pragma region Options
  1710.  
  1711. OptionsGroup.SetPosition(16, 257);
  1712. OptionsGroup.SetSize(450, 120);
  1713. OptionsGroup.SetText("Player Options");
  1714. RegisterControl(&OptionsGroup);
  1715.  
  1716. OptionsFriendly.SetFileId("pl_friendly");
  1717. OptionsGroup.PlaceLabledControl("Friendly", this, &OptionsFriendly);
  1718.  
  1719. OptionsAimPrio.SetFileId("pl_priority");
  1720. OptionsGroup.PlaceLabledControl("Priority", this, &OptionsAimPrio);
  1721.  
  1722. OptionsCalloutSpam.SetFileId("pl_callout");
  1723. OptionsGroup.PlaceLabledControl("Callout Spam", this, &OptionsCalloutSpam);
  1724.  
  1725. #pragma endregion
  1726. }
  1727.  
  1728. DWORD GetPlayerListIndex(int EntId)
  1729. {
  1730. player_info_t pinfo;
  1731. Interfaces::Engine->GetPlayerInfo(EntId, &pinfo);
  1732.  
  1733. // Bot
  1734. if (pinfo.guid[0] == 'B' && pinfo.guid[1] == 'O')
  1735. {
  1736. char buf[64]; sprintf_s(buf, "BOT_420%sAY", pinfo.name);
  1737. return CRC32(buf, 64);
  1738. }
  1739. else
  1740. {
  1741. return CRC32(pinfo.guid, 32);
  1742. }
  1743. }
  1744.  
  1745. bool IsFriendly(int EntId)
  1746. {
  1747. DWORD plistId = GetPlayerListIndex(EntId);
  1748. if (PlayerList.find(plistId) != PlayerList.end())
  1749. {
  1750. return PlayerList[plistId].Friendly;
  1751. }
  1752.  
  1753. return false;
  1754. }
  1755.  
  1756. bool IsAimPrio(int EntId)
  1757. {
  1758. DWORD plistId = GetPlayerListIndex(EntId);
  1759. if (PlayerList.find(plistId) != PlayerList.end())
  1760. {
  1761. return PlayerList[plistId].AimPrio;
  1762. }
  1763.  
  1764. return false;
  1765. }
  1766.  
  1767. bool IsCalloutTarget(int EntId)
  1768. {
  1769. DWORD plistId = GetPlayerListIndex(EntId);
  1770. if (PlayerList.find(plistId) != PlayerList.end())
  1771. {
  1772. return PlayerList[plistId].Callout;
  1773. }
  1774.  
  1775. return false;
  1776. }
  1777.  
  1778. void UpdatePlayerList()
  1779. {
  1780. IClientEntity* pLocal = Interfaces::EntList->GetClientEntity(Interfaces::Engine->GetLocalPlayer());
  1781. if (Interfaces::Engine->IsConnected() && Interfaces::Engine->IsInGame() && pLocal && pLocal->IsAlive())
  1782. {
  1783. Menu::Window.Playerlist.pListPlayers.ClearItems();
  1784.  
  1785. // Loop through all active entitys
  1786. for (int i = 0; i < Interfaces::EntList->GetHighestEntityIndex(); i++)
  1787. {
  1788. // Get the entity
  1789.  
  1790. player_info_t pinfo;
  1791. if (i != Interfaces::Engine->GetLocalPlayer() && Interfaces::Engine->GetPlayerInfo(i, &pinfo))
  1792. {
  1793. IClientEntity* pEntity = Interfaces::EntList->GetClientEntity(i);
  1794. int HP = 100; char* Location = "Unknown";
  1795. char *Friendly = " ", *AimPrio = " ";
  1796.  
  1797. DWORD plistId = GetPlayerListIndex(Menu::Window.Playerlist.pListPlayers.GetValue());
  1798. if (PlayerList.find(plistId) != PlayerList.end())
  1799. {
  1800. Friendly = PlayerList[plistId].Friendly ? "Friendly" : "";
  1801. AimPrio = PlayerList[plistId].AimPrio ? "AimPrio" : "";
  1802. }
  1803.  
  1804. if (pEntity && !pEntity->IsDormant())
  1805. {
  1806. HP = pEntity->GetHealth();
  1807. Location = pEntity->GetLastPlaceName();
  1808. }
  1809.  
  1810. char nameBuffer[512];
  1811. sprintf_s(nameBuffer, "%-24s %-10s %-10s [%d HP] [Last Seen At %s]", pinfo.name, IsFriendly(i) ? "Friend" : " ", IsAimPrio(i) ? "AimPrio" : " ", HP, Location);
  1812. Menu::Window.Playerlist.pListPlayers.AddItem(nameBuffer, i);
  1813.  
  1814. }
  1815.  
  1816. }
  1817.  
  1818. DWORD meme = GetPlayerListIndex(Menu::Window.Playerlist.pListPlayers.GetValue());
  1819.  
  1820. // Have we switched to a different player?
  1821. static int PrevSelectedPlayer = 0;
  1822. if (PrevSelectedPlayer != Menu::Window.Playerlist.pListPlayers.GetValue())
  1823. {
  1824. if (PlayerList.find(meme) != PlayerList.end())
  1825. {
  1826. Menu::Window.Playerlist.OptionsFriendly.SetState(PlayerList[meme].Friendly);
  1827. Menu::Window.Playerlist.OptionsAimPrio.SetState(PlayerList[meme].AimPrio);
  1828. Menu::Window.Playerlist.OptionsCalloutSpam.SetState(PlayerList[meme].Callout);
  1829.  
  1830. }
  1831. else
  1832. {
  1833. Menu::Window.Playerlist.OptionsFriendly.SetState(false);
  1834. Menu::Window.Playerlist.OptionsAimPrio.SetState(false);
  1835. Menu::Window.Playerlist.OptionsCalloutSpam.SetState(false);
  1836.  
  1837. }
  1838. }
  1839. PrevSelectedPlayer = Menu::Window.Playerlist.pListPlayers.GetValue();
  1840.  
  1841. PlayerList[meme].Friendly = Menu::Window.Playerlist.OptionsFriendly.GetState();
  1842. PlayerList[meme].AimPrio = Menu::Window.Playerlist.OptionsAimPrio.GetState();
  1843. PlayerList[meme].Callout = Menu::Window.Playerlist.OptionsCalloutSpam.GetState();
  1844. }
  1845. }*/
  1846.  
  1847. void Menu::SetupMenu()
  1848. {
  1849. Window.Setup();
  1850.  
  1851. GUI.RegisterWindow(&Window);
  1852. GUI.BindWindow(VK_INSERT, &Window);
  1853. }
  1854.  
  1855. void Menu::DoUIFrame()
  1856. {
  1857. if (Window.VisualsTab.FiltersAll.GetState())
  1858. {
  1859. Window.VisualsTab.FiltersC4.SetState(true);
  1860. Window.VisualsTab.FiltersChickens.SetState(true);
  1861. Window.VisualsTab.FiltersPlayers.SetState(true);
  1862. Window.VisualsTab.FiltersWeapons.SetState(true);
  1863. Window.VisualsTab.FiltersNades.SetState(true);
  1864. }
  1865.  
  1866. GUI.Update();
  1867. GUI.Draw();
  1868.  
  1869. }
Advertisement
Add Comment
Please, Sign In to add comment