WinRoNe
Platinum
- Joined
- Jun 9, 2017
- Messages
- 889
- Reaction score
- 122
- Age
- 26
Всем привет, как использовать KeyBind без удержания, что бы при нажатии кнопки функция переходила в положение Enabled)
В menu.cpp
KeyBind("Bind", g_Options.some_bind);
В файле
if (!g_Options.some_enabled || !GetAsyncKeyState(g_Options.some_bind))
continue;
Определение:
OPTION(int, esp_bind, 0);
Ответ - GetKeyState
В menu.cpp
KeyBind("Bind", g_Options.some_bind);
В файле
if (!g_Options.some_enabled || !GetAsyncKeyState(g_Options.some_bind))
continue;
Определение:
OPTION(int, esp_bind, 0);
Ответ - GetKeyState