Update main.cpp

- Added keybind for rainbow boxes and names
This commit is contained in:
ifBars
2023-10-10 20:45:16 -06:00
committed by GitHub
parent ea07a8b6fa
commit e151b85b23
+3 -2
View File
@@ -137,7 +137,7 @@ int main() {
//SetActiveWindow(hack::process->hwnd_);
#ifndef _UC
std::cout << "\n[settings] In Game keybinds:\n\t[F5] enable/disable Team ESP\n\t[F6] enable/disable automatic updates\n\t[fin] Unload esp.\n" << std::endl;
std::cout << "\n[settings] In Game keybinds:\n\t[F5] enable/disable Team ESP\n\t[F6] enable/disable automatic updates\n\t[F7] enable/disable rainbow boxes & names\n\t[fin] Unload esp.\n" << std::endl;
#else
std::cout << "\n[settings] In Game keybinds:\n\t[F5] enable/disable Team ESP\n\t[fin] Unload esp\n" << std::endl;
#endif
@@ -152,6 +152,7 @@ int main() {
#ifndef _UC
if (GetAsyncKeyState(VK_F6) & 0x8000) { config::automatic_update = !config::automatic_update; config::save(); Beep(700, 100); }
#endif
if (GetAsyncKeyState(VK_F7) & 0x8000) { config::rainbow = !config::rainbow; config::save(); Beep(700, 100); };
TranslateMessage(&msg);
DispatchMessage(&msg);
@@ -176,4 +177,4 @@ int main() {
#endif
return 1;
}
}