From 76721e38d62f90b2ae0c2ba1acc879035a75b645 Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Sun, 17 Nov 2019 19:16:14 -0600 Subject: [PATCH] Add new sounds for opening vaults. --- SQF/dayz_code/compile/player_unlockVault.sqf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SQF/dayz_code/compile/player_unlockVault.sqf b/SQF/dayz_code/compile/player_unlockVault.sqf index b16a1925b..229971ad3 100644 --- a/SQF/dayz_code/compile/player_unlockVault.sqf +++ b/SQF/dayz_code/compile/player_unlockVault.sqf @@ -43,6 +43,12 @@ if (_ComboMatch || (_ownerID == dayz_playerUID)) then { dayz_lastCodeFail = 0; [_unlockedClass,objNull] call fn_waitForObject; + + if (_unlockedClass == "LockboxStorage") then { + [player,"lockboxopen",0,false] call dayz_zombieSpeak; + } else { + [player,"safeopen",0,false] call dayz_zombieSpeak; + }; PVDZE_handleSafeGear = [player,_obj,0]; publicVariableServer "PVDZE_handleSafeGear";