mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-05-15 15:13:22 +03:00
Add new sounds for closing vaults.
This commit is contained in:
@@ -36,6 +36,12 @@ if (!isNull _obj) then {
|
|||||||
|
|
||||||
[_lockedClass,objNull] call fn_waitForObject;
|
[_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];
|
PVDZE_handleSafeGear = [player,_obj,1];
|
||||||
publicVariableServer "PVDZE_handleSafeGear";
|
publicVariableServer "PVDZE_handleSafeGear";
|
||||||
//wait for response from server to verify safe was logged and saved before proceeding
|
//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;
|
format[localize "str_epoch_player_117",_text] call dayz_rollingMessages;
|
||||||
};
|
};
|
||||||
s_player_lockvault = -1;
|
s_player_lockvault = -1;
|
||||||
dayz_actionInProgress = false;
|
dayz_actionInProgress = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user