Files
DayZ-Epoch/SQF/dayz_code/actions/vault_combination_1.sqf
2013-12-02 14:14:20 -06:00

18 lines
477 B
Plaintext

private ["_ok"];
if(DZE_ActionInProgress) exitWith { cutText [(localize "STR_EPOCH_PLAYER_21") , "PLAIN DOWN"]; };
DZE_ActionInProgress = true;
dayz_selectedVault = _this select 3;
dayz_combination = "";
if(!isNull dayz_selectedVault) then {
if ((typeOf dayz_selectedVault) == "VaultStorageLocked" or (typeOf dayz_selectedVault) == "VaultStorage") then {
_ok = createdialog "SafeKeyPad";
} else {
_ok = createdialog "KeypadUI";
};
};
DZE_ActionInProgress = false;