Add new sounds for closing vaults.

This commit is contained in:
worldwidesorrow
2019-11-17 19:13:56 -06:00
committed by GitHub
parent 9c83ef28ae
commit 61258c919a

View File

@@ -36,6 +36,12 @@ if (!isNull _obj) then {
[_lockedClass,objNull] call fn_waitForObject;
if (_lockedClass == "LockboxStorageLocked") then {
[player,"lockboxclose",0,false] call dayz_zombieSpeak;
} else {
[player,"safeclose",0,false] call dayz_zombieSpeak;
};
PVDZE_handleSafeGear = [player,_obj,1];
publicVariableServer "PVDZE_handleSafeGear";
//wait for response from server to verify safe was logged and saved before proceeding
@@ -44,4 +50,4 @@ if (!isNull _obj) then {
format[localize "str_epoch_player_117",_text] call dayz_rollingMessages;
};
s_player_lockvault = -1;
dayz_actionInProgress = false;
dayz_actionInProgress = false;