bendy303 4 Posted September 23, 2023 Hi all, so I am trying to disable the repawn button when escape key is pressed....cannot seem to get it to work this is my code moduleName_keyDownEHId = (findDisplay 46) displayAddEventHandler ["KeyDown", "if ((_this select 1) == 1) then { diag_log 'escape pressed'; ((findDisplay 49) displayCtrl 1010) ctrlEnable false; } ;"] in the debug consol the ((findDisplay 49) displayCtrl 1010) ctrlEnable false; bit works - the respawn menu is disabled. And the moduleName_keyDownEHId = (findDisplay 46) displayAddEventHandler ["KeyDown", "if ((_this select 1) == 1) then {diag_log 'escape pressed'; };"] also works for escape key. But not if I add the disable respawn menu code. help appreciated cheers all Ben Share this post Link to post Share on other sites