Advertisement
Meowzors

changeCode.sqf

Apr 11th, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. private ["_ok"];
  2.  
  3. if(DZE_ActionInProgress) exitWith { cutText [(localize "STR_EPOCH_PLAYER_21") , "PLAIN DOWN"]; };
  4. DZE_ActionInProgress = true;
  5.  
  6. dayz_selectedVault = _this select 3;
  7. dayz_combination = "";
  8.  
  9. if(!isNull dayz_selectedVault) then {
  10.  
  11. if ((typeOf dayz_selectedVault) == "VaultStorageLocked" or (typeOf dayz_selectedVault) == "VaultStorage") then {
  12. _ok = createdialog "SafeChangeUI";
  13. } else {
  14. _ok = createdialog "LockBoxChangeUI";
  15. };
  16. };
  17.  
  18. DZE_ActionInProgress = false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement