diff --git a/SQF/dayz_code/compile/player_lockVault.sqf b/SQF/dayz_code/compile/player_lockVault.sqf index df92e614d..f51951c10 100644 --- a/SQF/dayz_code/compile/player_lockVault.sqf +++ b/SQF/dayz_code/compile/player_lockVault.sqf @@ -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; \ No newline at end of file +dayz_actionInProgress = false;