Update all cutText to dayz_rollingMessages

This commit is contained in:
ebaydayz
2016-04-16 15:47:49 -04:00
parent 993ce14da6
commit 5157228e67
137 changed files with 604 additions and 621 deletions

View File

@@ -1,7 +1,7 @@
/*
[_obj] call player_packTent;
*/
if (DZE_ActionInProgress) exitWith {cutText [localize "str_player_beingpacked","PLAIN DOWN"];};
if (DZE_ActionInProgress) exitWith {localize "str_player_beingpacked" call dayz_rollingMessages;};
DZE_ActionInProgress = true;
_obj = _this;
_ownerID = _obj getVariable["CharacterID","0"];
@@ -22,7 +22,7 @@ if (_ownerID == dayz_characterID or (typeOf _obj in _campItems)) then { _pickup
if (_pickup) then {
_alreadyPacking = _obj getVariable["packing",0];
if (_alreadyPacking == 1) exitWith {cutText [format [localize "str_player_beingpacked"],"PLAIN DOWN"]; DZE_ActionInProgress = false;};
if (_alreadyPacking == 1) exitWith {localize "str_player_beingpacked" call dayz_rollingMessages; DZE_ActionInProgress = false;};
_obj setVariable["packing",1];
_dir = direction _obj;
@@ -76,8 +76,8 @@ if (_pickup) then {
_countr = _countr + 1;
} count _objWpnTypes;
cutText [localize "str_success_tent_pack", "PLAIN DOWN"];
localize "str_success_tent_pack" call dayz_rollingMessages;
} else {
cutText [localize "str_fail_tent_pack", "PLAIN DOWN"];
localize "str_fail_tent_pack" call dayz_rollingMessages;
};
DZE_ActionInProgress = false;