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

@@ -44,6 +44,12 @@ if (_ComboMatch || (_ownerID == dayz_playerUID)) then {
[_unlockedClass,objNull] call fn_waitForObject; [_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]; PVDZE_handleSafeGear = [player,_obj,0];
publicVariableServer "PVDZE_handleSafeGear"; publicVariableServer "PVDZE_handleSafeGear";
//wait for response from server to verify safe was logged before proceeding //wait for response from server to verify safe was logged before proceeding