Files
DayZ-Epoch/SQF/dayz_code/actions/vault_combination_1.sqf
2013-11-26 01:28:39 -06:00

17 lines
441 B
Plaintext

private ["_ok"];
dayz_selectedVault = _this select 3;
dayz_combination = "";
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
s_player_unlockvault = 1;
if(!isNull dayz_selectedVault) then {
if ((typeOf dayz_selectedVault) == "VaultStorageLocked" or (typeOf dayz_selectedVault) == "VaultStorage") then {
_ok = createdialog "SafeKeyPad";
} else {
_ok = createdialog "KeypadUI";
};
};
s_player_unlockvault = -1;