Guest User

KeyHandler

a guest
Dec 30th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.66 KB | None | 0 0
  1.     //O Key
  2.     case 24: {
  3.         if (_shift) then {
  4.             if !(soundVolume isEqualTo 1) then {
  5.                 1 fadeSound 1;
  6.                 systemChat localize "STR_MISC_soundnormal";
  7.             } else {
  8.                 1 fadeSound 0.1;
  9.                 systemChat localize "STR_MISC_soundfade";
  10.             };
  11.         };
  12.  
  13.         //place spikestrip as cop
  14.         if (_alt && (playerSide == west)) then {
  15.             if (!isNull life_spikestrip) exitWith {hint localize "STR_ISTR_SpikesDeployment"; closeDialog 0};
  16.             if ([false,spikeStrip,1] call life_fnc_handleInv) then {
  17.             [] spawn life_fnc_spikeStrip;
  18.         };
  19.     };
Advertisement
Add Comment
Please, Sign In to add comment