fix vaults

This commit is contained in:
A Clark
2012-11-24 12:29:14 -06:00
parent beaa60e59a
commit 0037b7a6a6
5 changed files with 23 additions and 21 deletions

View File

@@ -14,7 +14,7 @@ s_player_lockvault = -1;
if(_ownerID == dayz_characterID) then {
_alreadyPacking = _obj getVariable["packing",0];
if (_alreadyPacking == 1) exitWith {cutText ["That vault is already being unlocked." , "PLAIN DOWN"]};
if (_alreadyPacking == 1) exitWith {cutText ["That vault is already being locked." , "PLAIN DOWN"]};
_obj setVariable["packing",1];
@@ -71,7 +71,7 @@ if(_ownerID == dayz_characterID) then {
_countr = _countr + 1;
} forEach _objWpnTypes;
cutText ["Your vault has been unlocked", "PLAIN DOWN"];
cutText ["Your vault has been locked", "PLAIN DOWN"];
} else {
cutText ["You cannot unlock this vault, it is not yours", "PLAIN DOWN"];
cutText ["You cannot lock this vault, it is not yours", "PLAIN DOWN"];
};