Skip to content

Commit

Permalink
Update zen_modules.sqf (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibso29 authored Nov 30, 2022
1 parent 77c93cf commit eaac075
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions components/miscClient/zen_modules.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ call

] call zen_custom_modules_fnc_register;

private _musicMute =
{
[] spawn
{
[3, 0] remoteExecCall ["fadeMusic"];
uiSleep 3;
[""] remoteExecCall ["playMusic"];
uiSleep 1;
[0, 1] remoteExecCall ["fadeMusic"];
}
};

["[Audio]", "Mute Music (Fade Out)", _musicMute] call zen_custom_modules_fnc_register;

private _disableAI = { [_this#1] call f_fnc_zen_toggleAIPath };

Expand Down

0 comments on commit eaac075

Please sign in to comment.