Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool PanicKeyIsPressed = FALSE; // Flag, that panic key is pressed
- if (GetKeyState(VK_F7) == 1) // 1 = Pressed, 0 = Not pressed
- PanicKeyIsPressed = TRUE;
- if(!PanicKeyIsPressed) // Условие
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement