Skip to content

Commit

Permalink
Fixed Aimbot and Triggerbot hotkeys in configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fr0go1 committed Oct 11, 2023
1 parent b697665 commit 9cbb217
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CS2_External/Utils/ConfigMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,13 @@ namespace ConfigMenu {
MenuConfig::ShowHeadShootLine = true;
MenuConfig::HeadShootLineColor = ImVec4(255, 255, 255, 255);
MenuConfig::AimBotHotKey = 0;
AimControl::SetHotKey(MenuConfig::AimBotHotKey);
MenuConfig::ShowLineToEnemy = false;
MenuConfig::FovLineSize = 60.0f;
TriggerBot::TriggerDelay = 90;
AimControl::RCSBullet = 1;
MenuConfig::TriggerHotKey = 0;
TriggerBot::SetHotKey(MenuConfig::TriggerHotKey);
AimControl::RCSScale = ImVec2(1.2f, 1.4f);
MenuConfig::FovLineColor = ImVec4(55, 55, 55, 220);
MenuConfig::LineToEnemyColor = ImVec4(255, 255, 255, 220);
Expand Down
4 changes: 2 additions & 2 deletions CS2_External/Utils/ConfigSaver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ namespace MyConfigSaver {
else if (key == "SpectateEsp") iss >> MenuConfig::SpectateEsp;
else if (key == "TriggerDelay") iss >> TriggerBot::TriggerDelay;
else if (key == "ShowBoxESP") iss >> MenuConfig::ShowBoxESP;
else if (key == "TriggerHotKey") iss >> MenuConfig::TriggerHotKey;
else if (key == "TriggerHotKey") { iss >> MenuConfig::TriggerHotKey; TriggerBot::SetHotKey(MenuConfig::TriggerHotKey); }
else if (key == "RCSBullet") iss >> AimControl::RCSBullet;
else if (key == "ShowHealthBar") iss >> MenuConfig::ShowHealthBar;
else if (key == "AimFov") iss >> AimControl::AimFov;
else if (key == "FovLineSize") iss >> MenuConfig::FovLineSize;
else if (key == "AimBotHotKey") iss >> MenuConfig::AimBotHotKey;
else if (key == "AimBotHotKey") { iss >> MenuConfig::AimBotHotKey; AimControl::SetHotKey(MenuConfig::AimBotHotKey); }
else if (key == "ShowLineToEnemy") iss >> MenuConfig::ShowLineToEnemy;
else if (key == "RCSScale.x") iss >> AimControl::RCSScale.x;
else if (key == "RCSScale.y") iss >> AimControl::RCSScale.y;
Expand Down

0 comments on commit 9cbb217

Please sign in to comment.