Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private _displayEH_ID = (findDisplay 46) displayAddEventHandler ["KeyDown",
- {
- params ["_control", "_key", "_isShift", "_isControl", "_isAlt"];
- private _override = false;
- diag_log _key;
- if (_key == 57 && _isShift && _isControl) then { // Space + Shift + Control
- _override = true;
- //You action here (will be local, will need remote exec for server)
- _control displayRemoveEventHandler ["keyDown", _thisEventHandler];
- };
- _override;
- }
- ];
Add Comment
Please, Sign In to add comment