mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Merge pull request #1980 from oiad/patch-15
Fix auto unlock to function like storage
This commit is contained in:
@@ -506,7 +506,7 @@ if (_canBuild select 0) then {
|
|||||||
_combination_2 = floor(random 10);
|
_combination_2 = floor(random 10);
|
||||||
_combination_3 = floor(random 10);
|
_combination_3 = floor(random 10);
|
||||||
_combination = format["%1%2%3",_combination_1,_combination_2,_combination_3];
|
_combination = format["%1%2%3",_combination_1,_combination_2,_combination_3];
|
||||||
dayz_combination = _combination;
|
DZE_Lock_Door = _combination;
|
||||||
_combinationDisplay = _combination;
|
_combinationDisplay = _combination;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -387,7 +387,7 @@ if (_canBuild select 0) then {
|
|||||||
_combination_2 = floor(random 10);
|
_combination_2 = floor(random 10);
|
||||||
_combination_3 = floor(random 10);
|
_combination_3 = floor(random 10);
|
||||||
_combination = format["%1%2%3",_combination_1,_combination_2,_combination_3];
|
_combination = format["%1%2%3",_combination_1,_combination_2,_combination_3];
|
||||||
dayz_combination = _combination;
|
DZE_Lock_Door = _combination;
|
||||||
_combinationDisplay = _combination;
|
_combinationDisplay = _combination;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ if ((count _upgrade) > 0) then {
|
|||||||
_combination = format["%1%2%3",_combination_1,_combination_2,_combination_3];
|
_combination = format["%1%2%3",_combination_1,_combination_2,_combination_3];
|
||||||
|
|
||||||
_objectCharacterID = _combination;
|
_objectCharacterID = _combination;
|
||||||
|
DZE_Lock_Door = _combination;
|
||||||
|
|
||||||
format[localize "str_epoch_player_158",_combination,_text] call dayz_rollingMessages;
|
format[localize "str_epoch_player_158",_combination,_text] call dayz_rollingMessages;
|
||||||
systemChat format[localize "str_epoch_player_158",_combination,_text];
|
systemChat format[localize "str_epoch_player_158",_combination,_text];
|
||||||
|
|||||||
Reference in New Issue
Block a user