Add new sounds for opening vaults.

This commit is contained in:
worldwidesorrow
2019-11-17 19:16:14 -06:00
committed by GitHub
parent 61258c919a
commit 76721e38d6

View File

@@ -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";