Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.91 KB | None | 0 0
  1. void OnRenderGUI()
  2. {
  3. static int page = 0;
  4. if (ImGui::Begin("Paste", &bIsGuiVisible));
  5. {
  6.  
  7. static int menu_tab = 0; 1; 2; 3; 4; 5;
  8. if (Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_FovType > 1)
  9. Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_FovType = 1;
  10.  
  11. if (Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_BestHit > 1)
  12. Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_BestHit = 1;
  13.  
  14. if (Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Spot > 5)
  15. Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Spot = 5;
  16.  
  17. ImGui::BeginChild(" ", ImVec2(103, 0), true);
  18.  
  19. if (ImGui::Button("Aimbot", ImVec2(85, 25))) menu_tab = 0;
  20. ImGui::Spacing();
  21. if (ImGui::Button("Visuals", ImVec2(85, 25))) menu_tab = 1;
  22. ImGui::Spacing();
  23. if (ImGui::Button("Skins", ImVec2(85, 25))) menu_tab = 2;
  24. ImGui::Spacing();
  25. if (ImGui::Button("Misc", ImVec2(85, 25))) menu_tab = 3;
  26. ImGui::Spacing();
  27. if (ImGui::Button("Config", ImVec2(85, 25))) menu_tab = 4;
  28.  
  29. ImGui::EndChild();
  30.  
  31. ImGui::NextColumn();
  32.  
  33. if (menu_tab == 0) {
  34. DrawAimbotTab();
  35. }
  36.  
  37. if (menu_tab == 1) {
  38. DrawVisualTab();
  39. }
  40.  
  41. if (menu_tab == 2) {
  42. DrawSkinsTab();
  43. }
  44.  
  45. if (menu_tab == 3) {
  46. DrawMiscTab();
  47. }
  48.  
  49. if (menu_tab == 4) {
  50. DrawConfigsTab();
  51. }
  52.  
  53. ImGui::Columns();
  54. }ImGui::End();
  55. }
  56. }
  57.  
  58. ImGui::Spacing();
  59. ImGui::Separator();
  60. ImGui::Spacing();
  61.  
  62. float SpaceLineOne = 120.f;
  63. float SpaceLineTwo = 220.f;
  64. float SpaceLineThr = 320.f;
  65.  
  66. if (tabSelected == 0) // Aimbot
  67. {
  68. ImGui::PushItemWidth(110.f);
  69. ImGui::Text("Current Weapon: ");
  70. ImGui::SameLine();
  71. ImGui::Combo("##AimWeapon", &iWeaponID, pWeaponData, IM_ARRAYSIZE(pWeaponData));
  72. ImGui::PopItemWidth();
  73.  
  74. ImGui::Spacing();
  75. ImGui::Separator();
  76. ImGui::Spacing();
  77.  
  78. ImGui::Checkbox("Deathmatch", &Settings::Aimbot::aim_Deathmatch);
  79. ImGui::SameLine(SpaceLineOne);
  80. ImGui::Checkbox("WallAttack", &Settings::Aimbot::aim_WallAttack);
  81. ImGui::SameLine(SpaceLineTwo);
  82. ImGui::Checkbox("CheckSmoke", &Settings::Aimbot::aim_CheckSmoke);
  83.  
  84. ImGui::Checkbox("AntiJump", &Settings::Aimbot::aim_AntiJump);
  85. ImGui::SameLine(SpaceLineOne);
  86. ImGui::Checkbox("Draw Fov", &Settings::Aimbot::aim_DrawFov);
  87. ImGui::SameLine(SpaceLineTwo);
  88. ImGui::Checkbox("DrawSpot", &Settings::Aimbot::aim_DrawSpot);
  89.  
  90. ImGui::Checkbox("Backtrack", &Settings::Aimbot::aim_Backtrack);
  91. ImGui::SameLine(SpaceLineOne);
  92. ImGui::SliderInt("Ticks", &Settings::Aimbot::aim_Backtracktickrate, 1, 16);
  93.  
  94. ImGui::Spacing();
  95. ImGui::Separator();
  96. ImGui::Spacing();
  97.  
  98. ImGui::Checkbox("Active", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Active);
  99.  
  100. if (iWeaponID <= 9)
  101. {
  102. ImGui::SameLine();
  103. ImGui::Checkbox("Autopistol", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_AutoPistol);
  104. }
  105. ImGui::PushItemWidth(362.f);
  106. ImGui::SliderInt("Smooth", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Smooth, 1, 300);
  107. ImGui::SliderInt("Fov", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Fov, 1, 300);
  108. ImGui::PopItemWidth();
  109.  
  110. const char* AimFovType[] = { "Dynamic" , "Static" };
  111. ImGui::PushItemWidth(362.f);
  112. ImGui::Combo("Fov Type", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_FovType, AimFovType, IM_ARRAYSIZE(AimFovType));
  113. ImGui::PopItemWidth();
  114.  
  115. const char* BestHit[] = { "Disable" , "Enable" };
  116. ImGui::PushItemWidth(362.f);
  117. ImGui::Combo("BestHit", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_BestHit, BestHit, IM_ARRAYSIZE(BestHit));
  118.  
  119. if (ImGui::IsItemHovered())
  120. ImGui::SetTooltip("if disabled then used Aimspot");
  121.  
  122. ImGui::PopItemWidth();
  123.  
  124. const char* Aimspot[] = { "Head" , "Neck" , "Low Neck" , "Body" , "Thorax" , "Chest" };
  125. ImGui::PushItemWidth(362.f);
  126. ImGui::Combo("Aimspot", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Spot, Aimspot, IM_ARRAYSIZE(Aimspot));
  127. ImGui::PopItemWidth();
  128.  
  129. ImGui::Spacing();
  130. ImGui::Separator();
  131. ImGui::Spacing();
  132.  
  133. ImGui::PushItemWidth(362.f);
  134. ImGui::SliderInt("ShotDelay", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Delay, 0, 200);
  135. ImGui::SliderInt("Rcs", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_Rcs, 0, 100);
  136. ImGui::PopItemWidth();
  137.  
  138. ImGui::Spacing();
  139. ImGui::Separator();
  140. ImGui::Spacing();
  141.  
  142. if (iWeaponID >= 10 && iWeaponID <= 30)
  143. {
  144. ImGui::PushItemWidth(362.f);
  145. ImGui::SliderInt("Rcs Fov", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_RcsFov, 1, 300);
  146. ImGui::SliderInt("Rcs Smooth", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_RcsSmooth, 1, 300);
  147. ImGui::PopItemWidth();
  148.  
  149. const char* ClampType[] = { "All Target" , "Shot" , "Shot + Target" };
  150. ImGui::PushItemWidth(362.f);
  151. ImGui::Combo("Rcs Clamp", &Settings::Aimbot::weapon_aim_settings[iWeaponID].aim_RcsClampType, ClampType, IM_ARRAYSIZE(ClampType));
  152. ImGui::PopItemWidth();
  153.  
  154. ImGui::Spacing();
  155. ImGui::Separator();
  156. ImGui::Spacing();
  157. }
  158. }
  159.  
  160. else if (tabSelected == 1) // Visuals
  161. {
  162. string style_1 = "Box";
  163. string style_2 = "CoalBox";
  164.  
  165. const char* items1[] = { style_1.c_str() , style_2.c_str() };
  166.  
  167. ImGui::PushItemWidth(339.f);
  168. ImGui::Combo("Esp Type", &Settings::Esp::esp_Style, items1, IM_ARRAYSIZE(items1));
  169. ImGui::PopItemWidth();
  170.  
  171. ImGui::Spacing();
  172. ImGui::Separator();
  173. ImGui::Spacing();
  174.  
  175. ImGui::Checkbox("Esp Team", &Settings::Esp::esp_Team);
  176. ImGui::SameLine(SpaceLineOne);
  177. ImGui::Checkbox("Esp Enemy", &Settings::Esp::esp_Enemy);
  178. ImGui::SameLine(SpaceLineTwo);
  179. ImGui::Checkbox("Esp Bomb", &Settings::Esp::esp_Bomb);
  180. ImGui::SameLine(SpaceLineThr);
  181. ImGui::Checkbox("Esp Sound", &Settings::Esp::esp_Sound);
  182.  
  183. ImGui::Checkbox("Esp Line", &Settings::Esp::esp_Line);
  184. ImGui::SameLine(SpaceLineOne);
  185. ImGui::Checkbox("Esp OutLine", &Settings::Esp::esp_Outline);
  186. ImGui::SameLine(SpaceLineTwo);
  187. ImGui::Checkbox("Esp Name", &Settings::Esp::esp_Name);
  188. ImGui::SameLine(SpaceLineThr);
  189. ImGui::Checkbox("Esp Rank", &Settings::Esp::esp_Rank);
  190.  
  191. ImGui::Checkbox("Esp Weapon", &Settings::Esp::esp_Weapon);
  192. ImGui::SameLine(SpaceLineOne);
  193. ImGui::Checkbox("Esp Ammo", &Settings::Esp::esp_Ammo);
  194. ImGui::SameLine(SpaceLineTwo);
  195. ImGui::Checkbox("Esp Distance", &Settings::Esp::esp_Distance);
  196. ImGui::SameLine(SpaceLineThr);
  197. ImGui::Checkbox("Esp Skeleton", &Settings::Esp::esp_Skeleton);
  198. ImGui::Checkbox("Time", &Settings::Esp::esp_Time);
  199.  
  200. ImGui::Spacing();
  201. ImGui::Separator();
  202. ImGui::Spacing();
  203.  
  204. ImGui::Checkbox("Esp World Weapon", &Settings::Esp::esp_WorldWeapons);
  205. ImGui::Checkbox("Esp World Grenade", &Settings::Esp::esp_WorldGrenade);
  206.  
  207. ImGui::Spacing();
  208. ImGui::Separator();
  209. ImGui::Spacing();
  210.  
  211. string visible_1 = "Enemy";
  212. string visible_2 = "Team";
  213. string visible_3 = "All";
  214. string visible_4 = "Only Visible";
  215.  
  216. const char* items2[] = { visible_1.c_str() , visible_2.c_str() , visible_3.c_str() , visible_4.c_str() };
  217.  
  218. ImGui::PushItemWidth(339.f);
  219. ImGui::Combo("Esp Visible", &Settings::Esp::esp_Visible, items2, IM_ARRAYSIZE(items2));
  220.  
  221. ImGui::Spacing();
  222. ImGui::Separator();
  223. ImGui::Spacing();
  224.  
  225. ImGui::SliderInt("Esp Size", &Settings::Esp::esp_Size, 0, 10);
  226. ImGui::SliderInt("Esp BombTimer", &Settings::Esp::esp_BombTimer, 0, 65);
  227. ImGui::SliderInt("Esp BulletTrace", &Settings::Esp::esp_BulletTrace, 0, 3000);
  228.  
  229. ImGui::Spacing();
  230. ImGui::Separator();
  231. ImGui::Spacing();
  232.  
  233. string hpbar_1 = "None";
  234. string hpbar_2 = "Number";
  235. string hpbar_3 = "Bottom";
  236. string hpbar_4 = "Left";
  237.  
  238. const char* items3[] = { hpbar_1.c_str() , hpbar_2.c_str() , hpbar_3.c_str() , hpbar_4.c_str() };
  239. ImGui::Combo("Esp Health", &Settings::Esp::esp_Health, items3, IM_ARRAYSIZE(items3));
  240.  
  241. string arbar_1 = "None";
  242. string arbar_2 = "Number";
  243. string arbar_3 = "Bottom";
  244. string arbar_4 = "Right";
  245.  
  246. const char* items4[] = { arbar_1.c_str() , arbar_2.c_str() , arbar_3.c_str() , arbar_4.c_str() };
  247. ImGui::Combo("Esp Armor", &Settings::Esp::esp_Armor, items4, IM_ARRAYSIZE(items4));
  248.  
  249. ImGui::Spacing();
  250. ImGui::Separator();
  251. ImGui::Spacing();
  252.  
  253. string chams_1 = "None";
  254. string chams_2 = "Flat";
  255. string chams_3 = "Texture";
  256.  
  257. const char* items5[] = { chams_1.c_str() , chams_2.c_str() , chams_3.c_str() };
  258. ImGui::Combo("Chams", &Settings::Esp::esp_Chams, items5, IM_ARRAYSIZE(items5));
  259.  
  260. ImGui::Spacing();
  261. ImGui::Separator();
  262. ImGui::Spacing();
  263.  
  264. ImGui::ColorEdit3("Esp Color CT", Settings::Esp::esp_Color_CT);
  265. ImGui::ColorEdit3("Esp Color TT", Settings::Esp::esp_Color_TT);
  266. ImGui::ColorEdit3("Esp Color Visible CT", Settings::Esp::esp_Color_VCT);
  267. ImGui::ColorEdit3("Esp Color Visible TT", Settings::Esp::esp_Color_VTT);
  268.  
  269. ImGui::ColorEdit3("Chams Color CT", Settings::Esp::chams_Color_CT);
  270. ImGui::ColorEdit3("Chams Color TT", Settings::Esp::chams_Color_TT);
  271. ImGui::ColorEdit3("Chams Color Visible CT", Settings::Esp::chams_Color_VCT);
  272. ImGui::ColorEdit3("Chams Color Visible TT", Settings::Esp::chams_Color_VTT);
  273. ImGui::PopItemWidth();
  274.  
  275. ImGui::Spacing();
  276. ImGui::Separator();
  277. ImGui::Spacing();
  278. }
  279.  
  280.  
  281. //Fixed by smef#2433 and Troll Face#1136 on discord
  282. else if (tabSelected == 2) // Skins
  283. {
  284. //[enc_string_disable /]
  285. const char* knife_models_items[] =
  286. {
  287. "Default","Bayonet","Flip","Gut","Karambit" ,"M9 Bayonet",
  288. "Huntsman","Falchion","Bowie","Butterfly","Shadow Daggers"
  289. };
  290.  
  291. const char* quality_items[] =
  292. {
  293. "Normal","Genuine","Vintage","Unusual","Community","Developer",
  294. "Self-Made","Customized","Strange","Completed","Tournament"
  295. };
  296.  
  297. const char* skins_items[] =
  298. {
  299. "", "", "2: Groundwater","3: Candy Apple", "",
  300. "5: Forest DDPAT","6: Arctic Camo", "",
  301. "8: Desert Storm","9: Bengal Tiger","10: Copperhead",
  302. "11: Skulls","12: Crimson Web","13: Blue Streak","14: Red Laminate"
  303. ,"15: Gunsmoke","16: Jungle Tiger","17: Urban DDPAT", "",
  304. "", "20: Virus","21: Granite Marbleized","22: Contrast Spray",
  305. "", "", "25: Forest Leaves","26: Lichen Dashed",
  306. "27: Bone Mask","28: Anodized Navy", "", "30: Snake Camo",
  307. "", "32: Silver","33: Hot Rod","34: Metallic DDPAT", "",
  308. "36: Ossified","37: Blaze","38: Fade","39: Bulldozer","40: Night",
  309. "41: Copper","42: Blue Steel","43: Stained","44: Case Hardened",
  310. "", "46: Contractor","47: Colony","48: Dragon Tattoo",
  311. "", "", "51: Lightning Strike", "",
  312. "", "", "", "", "",
  313. "", "59: Slaughter","60: Dark Water"
  314. ,"61: Hypnotic","62: Bloomstick", "", ""
  315. , "", "", "67: Cold Blooded", "", ""
  316. , "70: Carbon Fiber","71: Scorpion","72: Safari Mesh","73: Wings","74: Polar Camo"
  317. ,"75: Blizzard Marbleized","76: Winter Forest","77: Boreal Forest","78: Forest Night"
  318. , "", "", "", "", "83: Orange DDPAT","84: Pink DDPAT"
  319. , "", "", "", "", "", "90: Mudder", ""
  320. , "92: Cyanospatter","93: Caramel", "", "95: Grassland","96: Blue Spruce", ""
  321. , "98: Ultraviolet","99: Sand Dune","100: Storm","101: Tornado","102: Whiteout", ""
  322. , "104: Grassland Leaves", "", "", "107: Polar Mesh", "", ""
  323. , "110: Condemned","111: Glacier Mesh", "", "", "", "", "116: Sand Mesh", "", "", "119: Sage Spray", "", "", "122: Jungle Spray", "", "124: Sand Spray", ""
  324. , "", "", "", "", "", "", "", "", "", "135: Urban Perforated"
  325. ,"136: Waves Perforated", "", "", "", "", "141: Orange Peel", "", "143: Urban Masked", "", "", "", "147: Jungle Dashed"
  326. ,"148: Sand Dashed","149: Urban Dashed", "", "151: Jungle", "", "153: Demolition","154: Afterimage","155: Bullet Rain","156: Death by Kitty","157: Palm","158: Walnut","159: Brass", "", "", "162: Splash", "","164: Modern Hunter","165: Splash Jam","166: Blaze Orange","167: Radiation Hazard","168: Nuclear Threat","169: Fallout Warning","170: Predator","171: Irradiated Alert","172: Black Laminate", "","174: BOOM","175: Scorched","176: Faded Zebra","177: Memento","178: Doomkitty","179: Nuclear Threat","180: Fire Serpent","181: Corticera","182: Emerald Dragon","183: Overgrowth","184: Corticera","185: Golden Koi","186: Wave Spray","187: Zirka","188: Graven","189: Bright Water","190: Black Limba","191: Tempest","192: Shattered","193: Bone Pile","194: Spitfire","195: Demeter","196: Emerald","197: Anodized Navy","198: Hazard","199: Dry Season","200: Mayan Dreams","201: Palm","202: Jungle DDPAT","203: Rust Coat","204: Mosaico","205: Jungle","206: Tornado","207: Facets","208: Sand Dune","209: Groundwater","210: Anodized Gunmetal","211: Ocean Foam","212: Graphite","213: Ocean Foam","214: Graphite","215: X-Ray","216: Blue Titanium","217: Blood Tiger","218: Hexane","219: Hive","220: Hemoglobin","221: Serum","222: Blood in the Water","223: Nightshade","224: Water Sigil","225: Ghost Camo","226: Blue Laminate","227: Electric Hive","228: Blind Spot","229: Azure Zebra","230: Steel Disruption","231: Cobalt Disruption","232: Crimson Web","233: Tropical Storm","234: Ash Wood","235: VariCamo","236: Night Ops","237: Urban Rubble","238: VariCamo Blue", "", "240: CaliCamo","241: Hunting Blind","242: Army Mesh","243: Gator Mesh","244: Teardown","245: Army Recon","246: Amber Fade","247: Damascus Steel","248: Red Quartz","249: Cobalt Quartz","250: Full Stop","251: Pit Viper","252: Silver Quartz","253: Acid Fade","254: Nitro","255: Asiimov","256: The Kraken","257: Guardian","258: Mehndi","259: Redline","260: Pulse","261: Marina","262: Rose Iron","263: Rising Skull","264: Sandstorm","265: Kami","266: Magma","267: Cobalt Halftone","268: Tread Plate","269: The Fuschia Is Now","270: Victoria","271: Undertow","272: Titanium Bit","273: Heirloom","274: Copper Galaxy","275: Red FragCam","276: Panther","277: Stainless","278: Blue Fissure","279: Asiimov","280: Chameleon","281: Corporal","282: Redline","283: Trigon","284: Heat","285: Terrain","286: Antique","287: Pulse","288: Sergeant","289: Sandstorm","290: Guardian","291: Heaven Guard", "", "293: Death Rattle","294: Green Apple","295: Franklin","296: Meteorite","297: Tuxedo","298: Army Sheen","299: Caged Steel","300: Emerald Pinstripe","301: Atomic Alloy","302: Vulcan","303: Isaac","304: Slashed","305: Torque","306: Antique","307: Retribution","308: Kami","309: Howl","310: Curse","311: Desert Warfare","312: Cyrex","313: Orion","314: Heaven Guard","315: Poison Dart","316: Jaguar","317: Bratatat","318: Road Rash","319: Detour","320: Red Python","321: Master Piece","322: Nitro","323: Rust Coat", "", "325: Chalice","326: Knight","327: Chainmail","328: Hand Cannon","329: Dark Age","330: Briar", "", "332: Royal Blue","333: Indigo","334: Twist","335: Module","336: Desert-Strike","337: Tatter","338: Pulse","339: Caiman","340: Jet Set","341: First Class","342: Leather","343: Commuter","344: Dragon Lore","345: First Class","346: Coach Class","347: Pilot","348: Red Leather","349: Osiris","350: Tigris","351: Conspiracy","352: Fowl Play","353: Water Elemental","354: Urban Hazard","355: Desert-Strike","356: Koi","357: Ivory","358: Supernova","359: Asiimov","360: Cyrex","361: Abyss","362: Labyrinth","363: Traveler","364: Business Class","365: Olive Plaid","366: Green Plaid","367: Reactor","368: Setting Sun","369: Nuclear Waste","370: Bone Machine","371: Styx","372: Nuclear Garden","373: Contamination","374: Toxic","375: Radiation Hazard","376: Chemical Green","377: Hot Shot","378: Fallout Warning","379: Cerberus","380: Wasteland Rebel","381: Grinder","382: Murky","383: Basilisk","384: Griffin","385: Firestarter","386: Dart","387: Urban Hazard","388: Cartel","389: Fire Elemental","390: Highwayman","391: Cardiac","392: Delusion","393: Tranquility","394: Cartel","395: Man-o'-war","396: Urban Shock","397: Naga","398: Chatterbox","399: Catacombs","400: 龍王 (Dragon King)","401: System Lock","402: Malachite","403: Deadly Poison","404: Muertos","405: Serenity","406: Grotto","407: Quicksilver","", "409: Tiger Tooth","410: Damascus Steel","411: Damascus Steel", "", "413: Marble Fade","414: Rust Coat","415: Doppler","416: Doppler","417: Doppler","418: Doppler","419: Doppler","420: Doppler","421: Doppler","422: Elite Build","423: Armor Core","424: Worm God","425: Bronze Deco","426: Valence","427: Monkey Business","428: Eco","429: Djinn","430: Hyper Beast","431: Heat","432: Man-o'-war","433: Neon Rider","434: Origami","435: Pole Position","436: Grand Prix","437: Twilight Galaxy","438: Chronos","439: Hades","440: Icarus Fell","441: Minotaur's Labyrinth","442: Asterion","443: Pathfinder","444: Daedalus","445: Hot Rod","446: Medusa","447: Duelist","448: Pandora's Box","449: Poseidon","450: Moon in Libra","451: Sun in Leo","452: Shipping Forecast","453: Emerald","454: Para Green","455: Akihabara Accept","456: Hydroponic","457: Bamboo Print","458: Bamboo Shadow","459: Bamboo Forest","460: Aqua Terrace", "", "462: Counter Terrace","463: Terrace","464: Neon Kimono","465: Orange Kimono","466: Crimson Kimono","467: Mint Kimono","468: Midnight Storm","469: Sunset Storm 壱","470: Sunset Storm 弐","471: Daybreak","472: Impact Drill","473: Seabird","474: Aquamarine Revenge","475: Hyper Beast","476: Yellow Jacket","477: Neural Net","478: Rocket Pop","479: Bunsen Burner","480: Evil Daimyo","481: Nemesis","482: Ruby Poison Dart","483: Loudmouth","484: Ranger","485: Handgun","486: Elite Build","487: Cyrex","488: Riot","489: Torque","490: Frontside Misty","491: Dualing Dragons","492: Survivor Z","493: Flux","494: Stone Cold","495: Wraiths","496: Nebula Crusader","497: Golden Coil","498: Rangeen","499: Cobalt Core","500: Special Delivery","501: Wingshot","502: Green Marine","503: Big Iron","504: Kill Confirmed","505: Scumbria","506: Point Disarray","507: Ricochet","508: Fuel Rod","509: Corinthian","510: Retrobution","511: The Executioner","512: Royal Paladin", "", "514: Power Loader","515: Imperial","516: Shapewood","517: Yorick","518: Outbreak","519: Tiger Moth","520: Avalanche","521: Teclu Burner","522: Fade","523: Amber Fade","524: Fuel Injector","525: Elite Build","526: Photic Zone","527: Kumicho Dragon","528: Cartel","529: Valence","530: Triumvirate", "", "532: Royal Legion","533: The Battlestar","534: Lapis Gator","535: Praetorian","536: Impire","537: Hyper Beast","538: Necropos","539: Jambiya","540: Lead Conduit","541: Fleet Flock","542: Judgement of Anubis","543: Red Astor","544: Ventilators","545: Orange Crash","546: Firefight","547: Spectre","548: Chantico's Fire","549: Bioleak","550: Oceanic","551: Asiimov","552: Fubar","553: Atlas","554: Ghost Crusader","555: Re-Entry","556: Primal Saber","557: Black Tie","558: Lore","559: Lore","560: Lore","561: Lore","562: Lore","563: Black Laminate","564: Black Laminate","565: Black Laminate","566: Black Laminate","567: Black Laminate","568: Gamma Doppler","569: Gamma Doppler","570: Gamma Doppler","571: Gamma Doppler","572: Gamma Doppler","573: Autotronic","574: Autotronic","575: Autotronic","576: Autotronic","577: Autotronic","578: Bright Water","579: Bright Water","580: Freehand","581: Freehand","582: Freehand","583: Aristocrat","584: Phobos","585: Violent Daimyo","586: Wasteland Rebel","587: Mecha Industries","588: Desolate Space","589: Carnivore","590: Exo","591: Imperial Dragon","592: Iron Clad","593: Chopper","594: Harvester","595: Reboot","596: Limelight","597: Bloodsport","598: Aerial","599: Ice Cap","600: Neon Revolution","601: Syd Mead","602: Imprint","603: Directive","604: Roll Cage","605: Scumbria","606: Ventilator","607: Weasel","608: Petroglyph","609: Airlock","610: Dazzle","611: Grim","612: Powercore","613: Triarch","614: Fuel Injector","615: Briefing","616: Slipstream","617: Doppler","618: Doppler","619: Doppler","620: Ultraviolet","621: Ultraviolet","622: Polymer","623: Ironwork","624: Dragonfire","625: Royal Consorts","626: Mecha Industries","627: Cirrus","628: Stinger","629: Black Sand","630: Sand Scale","631: Flashback","632: Buzz Kill","633: Sonar","634: Gila","635: Turf","636: Shallow Grave","637: Cyrex","638: Wasteland Princess","639: Bloodsport","640: Fever Dream","641: Jungle Slipstream","642: Blueprint","643: Xiangliu","644: Decimator","645: Oxide Blaze","646: Capillary","647: Crimson Tsunami","648: Emerald Poison Dart","649: Akoben","650: Ripple","651: Last Dive","652: Scaffold","653: Neo-Noir","654: Seasons","655: Zander","656: Orbit Mk01","657: Blueprint","658: Cobra Strike","659: Macabre","660: Hyper Beast","661: Sugar Rush","662: Oni Taiji","663: Briefing","664: Hellfire","665: Aloha","666: Hard Water","667: Woodsman","668: Red Rock","669: Death Grip","670: Death's Head","671: Cut Out","672: Metal Flowers","673: Morris","674: Triqua","675: The Empress","676: High Roller","677: Hunter","678: See Ya Later","679: Goo","680: Off World","681: Leaded Glass","682: Oceanic","683: Llama Cannon","684: Cracked Opal","685: Jungle Slipstream","686: Phantom","687: Tacticat","688: Exposure","689: Ziggy"
  327. };
  328.  
  329. const char* gloves_listbox_items[25] =
  330. {
  331. "default",
  332. "bloodhound_black_silver","bloodhound_snakeskin_brass","bloodhound_metallic","handwrap_leathery",
  333. "handwrap_camo_grey","slick_black","slick_military","slick_red","sporty_light_blue","sporty_military",
  334. "handwrap_red_slaughter","motorcycle_basic_black","motorcycle_mint_triangle","motorcycle_mono_boom",
  335. "motorcycle_triangle_blue","specialist_ddpat_green_camo","specialist_kimono_diamonds_red",
  336. "specialist_emerald_web","specialist_orange_white","handwrap_fabric_orange_camo","sporty_purple",
  337. "sporty_green","bloodhound_guerrilla","slick_snakeskin_yellow"
  338. };
  339. //[enc_string_enable /]
  340.  
  341.  
  342. ImGui::Text("Current Weapon: %s", pWeaponData[iWeaponID]);
  343.  
  344. ImGui::PushItemWidth(362.f);
  345.  
  346. ImGui::Separator();
  347.  
  348. ImGui::Combo("Knife CT Model", &Settings::Skin::knf_ct_model, knife_models_items, IM_ARRAYSIZE(knife_models_items));
  349. ImGui::Combo("Knife TT Model", &Settings::Skin::knf_tt_model, knife_models_items, IM_ARRAYSIZE(knife_models_items));
  350.  
  351. ImGui::Combo("Custom CT Knife", &Settings::Skin::knf_ct_skin, skins_items, IM_ARRAYSIZE(skins_items));
  352. ImGui::Combo("Custom TT Knife", &Settings::Skin::knf_tt_skin, skins_items, IM_ARRAYSIZE(skins_items));
  353.  
  354. ImGui::Separator();
  355.  
  356. static int iSelectKnifeCTSkinIndex = -1;
  357. static int iSelectKnifeTTSkinIndex = -1;
  358.  
  359. int iKnifeCTModelIndex = Settings::Skin::knf_ct_model;
  360. int iKnifeTTModelIndex = Settings::Skin::knf_tt_model;
  361.  
  362. static int iOldKnifeCTModelIndex = -1;
  363. static int iOldKnifeTTModelIndex = -1;
  364.  
  365. if (iOldKnifeCTModelIndex != iKnifeCTModelIndex && Settings::Skin::knf_ct_model)
  366. iSelectKnifeCTSkinIndex = GetKnifeSkinIndexFromPaintKit(Settings::Skin::knf_ct_skin, false);
  367.  
  368. if (iOldKnifeTTModelIndex != iKnifeTTModelIndex && Settings::Skin::knf_tt_model)
  369. iSelectKnifeTTSkinIndex = GetKnifeSkinIndexFromPaintKit(Settings::Skin::knf_ct_skin, true);
  370.  
  371. iOldKnifeCTModelIndex = iKnifeCTModelIndex;
  372. iOldKnifeTTModelIndex = iKnifeTTModelIndex;
  373.  
  374. string KnifeCTModel = knife_models_items[Settings::Skin::knf_ct_model];
  375. string KnifeTTModel = knife_models_items[Settings::Skin::knf_tt_model];
  376.  
  377. KnifeCTModel += " Skin##KCT";
  378. KnifeTTModel += " Skin##KTT";
  379.  
  380. ImGui::SliderFloat("Knife CT Wear", &g_SkinChangerCfg[WEAPON_KNIFE].flFallbackWear, 0.001f, 1.f);
  381. ImGui::Combo("Knife CT Quality", &g_SkinChangerCfg[WEAPON_KNIFE].iEntityQuality, quality_items, IM_ARRAYSIZE(quality_items));
  382. ImGui::ComboBoxArray(KnifeCTModel.c_str(), &iSelectKnifeCTSkinIndex, KnifeSkins[iKnifeCTModelIndex].SkinNames);
  383.  
  384. ImGui::Separator();
  385.  
  386. ImGui::SliderFloat("Knife TT Wear", &g_SkinChangerCfg[WEAPON_KNIFE_T].flFallbackWear, 0.001f, 1.f);
  387. ImGui::Combo("Knife TT Quality", &g_SkinChangerCfg[WEAPON_KNIFE_T].iEntityQuality, quality_items, IM_ARRAYSIZE(quality_items));
  388. ImGui::ComboBoxArray(KnifeTTModel.c_str(), &iSelectKnifeTTSkinIndex, KnifeSkins[iKnifeTTModelIndex].SkinNames);
  389.  
  390. ImGui::Separator();
  391.  
  392. static int iOldWeaponID = -1;
  393.  
  394. ImGui::Combo("Weapon##WeaponSelect", &iWeaponID, pWeaponData, IM_ARRAYSIZE(pWeaponData));
  395.  
  396. iWeaponSelectIndex = pWeaponItemIndexData[iWeaponID];
  397.  
  398. if (iOldWeaponID != iWeaponID)
  399. iWeaponSelectSkinIndex = GetWeaponSkinIndexFromPaintKit(g_SkinChangerCfg[iWeaponSelectIndex].nFallbackPaintKit);
  400.  
  401. iOldWeaponID = iWeaponID;
  402.  
  403. string WeaponSkin = pWeaponData[iWeaponID];
  404. WeaponSkin += " Skin";
  405.  
  406. ImGui::ComboBoxArray(WeaponSkin.c_str(), &iWeaponSelectSkinIndex, WeaponSkins[iWeaponID].SkinNames);
  407.  
  408. ImGui::Combo("Weapon Qality", &g_SkinChangerCfg[pWeaponItemIndexData[iWeaponID]].iEntityQuality, quality_items, IM_ARRAYSIZE(quality_items));
  409. ImGui::SliderFloat("Weapon Wear", &g_SkinChangerCfg[pWeaponItemIndexData[iWeaponID]].flFallbackWear, 0.001f, 1.f);
  410. ImGui::InputInt("Weapon StatTrak", &g_SkinChangerCfg[pWeaponItemIndexData[iWeaponID]].nFallbackStatTrak, 1, 100, ImGuiInputTextFlags_CharsDecimal);
  411. ImGui::Combo("Custom Skin", &g_SkinChangerCfg[pWeaponItemIndexData[iWeaponID]].nFallbackPaintKit, skins_items, IM_ARRAYSIZE(skins_items));
  412.  
  413. ImGui::Separator();
  414.  
  415. ImGui::Combo("Gloves Skin", &Settings::Skin::gloves_skin, gloves_listbox_items,
  416. IM_ARRAYSIZE(gloves_listbox_items));
  417.  
  418. ImGui::Separator();
  419.  
  420. ImGui::PopItemWidth();
  421.  
  422. if (ImGui::Button("Apply##Skin"))
  423. {
  424. if (iWeaponSelectSkinIndex >= 0) {
  425. g_SkinChangerCfg[iWeaponSelectIndex].nFallbackPaintKit = WeaponSkins[iWeaponID].SkinPaintKit[iWeaponSelectSkinIndex];
  426. }
  427. if (iSelectKnifeCTSkinIndex > 0) {
  428. Settings::Skin::knf_ct_skin = KnifeSkins[iKnifeCTModelIndex].SkinPaintKit[iSelectKnifeCTSkinIndex];
  429. }
  430. if (iSelectKnifeTTSkinIndex > 0) {
  431. Settings::Skin::knf_tt_skin = KnifeSkins[iKnifeTTModelIndex].SkinPaintKit[iSelectKnifeTTSkinIndex];
  432. }
  433. ForceFullUpdate();
  434. }
  435. }
  436. else if (tabSelected == 3) // Misc
  437. {
  438. const char* skybox_items[] =
  439. {
  440. "cs_baggage_skybox_",
  441. "cs_tibet",
  442. "embassy",
  443. "italy",
  444. "jungle",
  445. "nukeblank",
  446. "office",
  447. "sky_cs15_daylight01_hdr",
  448. "sky_cs15_daylight02_hdr",
  449. "sky_cs15_daylight03_hdr",
  450. "sky_cs15_daylight04_hdr",
  451. "sky_csgo_cloudy01",
  452. "sky_csgo_night02",
  453. "sky_csgo_night02b",
  454. "sky_csgo_night_flat",
  455. "sky_day02_05_hdr",
  456. "sky_day02_05",
  457. "sky_dust",
  458. "sky_l4d_rural02_ldr",
  459. "sky_venice",
  460. "vertigo_hdr",
  461. "vertigoblue_hdr",
  462. "vertigo",
  463. "vietnam"
  464. };
  465.  
  466. ImGui::Text("Skybox");
  467. ImGui::SameLine();
  468. if (ImGui::Combo("", &Settings::Misc::misc_CurrentSky, skybox_items, IM_ARRAYSIZE(skybox_items)))
  469. {
  470. Settings::Misc::misc_SkyName = skybox_items[Settings::Misc::misc_CurrentSky];
  471. }
  472. ImGui::Checkbox("AutoAccept", &Settings::Misc::misc_AutoAccept);
  473. ImGui::SameLine(SpaceLineOne);
  474. ImGui::Checkbox("NoSky", &Settings::Misc::misc_NoSky);
  475. ImGui::SameLine(SpaceLineTwo);
  476. ImGui::Checkbox("Spectators", &Settings::Misc::misc_Spectators);
  477. ImGui::Checkbox("Snow", &Settings::Misc::misc_Snow);
  478. ImGui::SameLine(SpaceLineOne);
  479. ImGui::Checkbox("Bhop", &Settings::Misc::misc_Bhop);
  480. ImGui::SameLine(SpaceLineTwo);
  481. ImGui::Checkbox("Punch", &Settings::Misc::misc_Punch);
  482. ImGui::Checkbox("AwpAim", &Settings::Misc::misc_AwpAim);
  483. ImGui::SameLine(SpaceLineOne);
  484. ImGui::Checkbox("NoFlash", &Settings::Misc::misc_NoFlash);
  485. ImGui::SameLine(SpaceLineTwo);
  486. ImGui::Checkbox("AutoStrafe", &Settings::Misc::misc_AutoStrafe);
  487. ImGui::Checkbox("NoHands", &Settings::Misc::misc_NoHands);
  488. ImGui::SameLine(SpaceLineOne);
  489. ImGui::Checkbox("WireHands", &Settings::Misc::misc_WireHands);
  490. ImGui::SameLine(SpaceLineTwo);
  491. ImGui::Checkbox("Disable Postprocess", &Settings::Misc::misc_EPostprocess);
  492.  
  493. ImGui::Checkbox("Fov Changer", &Settings::Misc::misc_FovChanger);
  494. ImGui::PushItemWidth(362.f);
  495. ImGui::SliderInt("Fov View", &Settings::Misc::misc_FovView, 1, 170);
  496. ImGui::SliderInt("Fov Model View", &Settings::Misc::misc_FovModelView, 1, 190);
  497. ImGui::Separator();
  498. ImGui::ColorEdit3("Awp Aim Color", Settings::Misc::misc_AwpAimColor);
  499. ImGui::PopItemWidth();
  500. ImGui::Separator();
  501. ImGui::Text("Warning: May Cause UT Bans (for OP Commands)");
  502. ImGui::Checkbox("SV Cheats Bypass", &Settings::Misc::misc_SVCheat);
  503. ImGui::Separator();
  504. }
  505. else if (tabSelected == 4) // Config
  506. {
  507. static int iConfigSelect = 0;
  508. static int iMenuSheme = 1;
  509. static char ConfigName[64] = { 0 };
  510.  
  511. ImGui::ComboBoxArray("Select Config", &iConfigSelect, ConfigList);
  512.  
  513. ImGui::Separator();
  514.  
  515. if (ImGui::Button("Load Config"))
  516. {
  517. Settings::LoadSettings(BaseDir + "\\" + ConfigList[iConfigSelect]);
  518. }
  519. ImGui::SameLine();
  520. if (ImGui::Button("Save Config"))
  521. {
  522. Settings::SaveSettings(BaseDir + "\\" + ConfigList[iConfigSelect]);
  523. }
  524. ImGui::SameLine();
  525. if (ImGui::Button("Refresh Config List"))
  526. {
  527. RefreshConfigs();
  528. }
  529.  
  530. ImGui::Separator();
  531.  
  532. ImGui::InputText("Config Name", ConfigName, 64);
  533.  
  534. if (ImGui::Button("Create & Save new Config"))
  535. {
  536. string ConfigFileName = ConfigName;
  537.  
  538. if (ConfigFileName.size() < 1)
  539. {
  540. ConfigFileName = "settings";
  541. }
  542.  
  543. Settings::SaveSettings(BaseDir + "\\" + ConfigFileName + ".ini");
  544. RefreshConfigs();
  545. }
  546.  
  547. ImGui::Separator();
  548.  
  549. const char* ThemesList[] = { "Purple" , "Default" , "Light Pink" , "Dark Blue" , "MidNight" , "Night" , "Dunno" , "Blue" , "Black" , "Green" , "Yellow" , "Light Blue" , "Light Grey" , "pHooK" };
  550.  
  551. ImGui::Combo("Menu Color Sheme", &iMenuSheme, ThemesList, IM_ARRAYSIZE(ThemesList));
  552.  
  553. ImGui::Separator();
  554.  
  555. if (ImGui::Button("Apply Color"))
  556. {
  557.  
  558. if (iMenuSheme == 0)
  559. {
  560. g_pGui->purple();
  561. }
  562. else if (iMenuSheme == 1)
  563. {
  564. g_pGui->DefaultSheme1();
  565. }
  566. else if (iMenuSheme == 2)
  567. {
  568. g_pGui->RedSheme();
  569. }
  570. else if (iMenuSheme == 3)
  571. {
  572. g_pGui->darkblue();
  573. }
  574. else if (iMenuSheme == 4)
  575. {
  576. g_pGui->MidNightSheme();
  577. }
  578. else if (iMenuSheme == 5)
  579. {
  580. g_pGui->NightSheme();
  581. }
  582. else if (iMenuSheme == 6)
  583. {
  584. g_pGui->DunnoSheme();
  585. }
  586. else if (iMenuSheme == 7)
  587. {
  588. g_pGui->BlueSheme();
  589. }
  590. //else if (iMenuSheme == 10)
  591. //{
  592. // g_pGui->MidNight2();
  593. //}
  594. else if (iMenuSheme == 8)
  595. {
  596. g_pGui->BlackSheme2();
  597. }
  598. else if (iMenuSheme == 9)
  599. {
  600. g_pGui->green();
  601. }
  602. else if (iMenuSheme == 10)
  603. {
  604. g_pGui->pink();
  605. }
  606. else if (iMenuSheme == 11)
  607. {
  608. g_pGui->blue();
  609. }
  610. else if (iMenuSheme == 12)
  611. {
  612. g_pGui->yellow();
  613. }
  614. else if (iMenuSheme == 13)
  615. {
  616. g_pGui->BlackSheme();
  617. }
  618. }
  619. }
  620.  
  621. ImGui::End();
  622. }
  623. }
  624. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement