From e823ec681d045b5536f05e97bd3b25d9cc49f43b Mon Sep 17 00:00:00 2001 From: SilentSpike Date: Thu, 16 Jul 2015 21:45:52 +0100 Subject: [PATCH] Toggle help key --- addons/spectator/functions/fnc_handleInterface.sqf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/addons/spectator/functions/fnc_handleInterface.sqf b/addons/spectator/functions/fnc_handleInterface.sqf index fe361a8e7f..58f042781e 100644 --- a/addons/spectator/functions/fnc_handleInterface.sqf +++ b/addons/spectator/functions/fnc_handleInterface.sqf @@ -222,6 +222,13 @@ switch (toLower _mode) do { case 32: { // D GVAR(camDolly) set [3,true]; }; + case 35: { // H + private ["_help","_dsiplay","_show"]; + _help = _dsiplay displayCtrl IDC_HELP; + _show = !ctrlShown _help; + + _help ctrlShow _show; + }; case 44: { // Z GVAR(camBoom) set [1,true]; };