mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
fix vaults
This commit is contained in:
@@ -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"];
|
||||
};
|
||||
Reference in New Issue
Block a user