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

@@ -71,7 +71,7 @@ if (count _nearByPile > 0) then {
if (_avail < _amount) exitWith {
_hasInput = false;
_itemName = getText(configFile >> _selection >> _item >> "displayName");
cutText [format [localize "str_crafting_missing",(_amount - _avail),_itemName], "PLAIN DOWN"];
format[localize "str_crafting_missing",(_amount - _avail),_itemName] call dayz_rollingMessages;
};
} forEach (_input + _required);
@@ -101,7 +101,7 @@ if (count _nearByPile > 0) then {
_freeSlots set[_j, ((_freeSlots select _j) - (_slotType select _j))];
if (_freeSlots select _j < 0) exitWith {
_availabeSpace = false;
cutText [localize "str_crafting_space", "PLAIN DOWN"];
localize "str_crafting_space" call dayz_rollingMessages;
};
};
};
@@ -151,10 +151,10 @@ if (count _nearByPile > 0) then {
player addBackpack _item;
};
};
cutText [format [localize "str_crafting_success",_itemName], "PLAIN DOWN"];
format[localize "str_crafting_success",_itemName] call dayz_rollingMessages;
//uiSleep 2;
} else {
cutText [format [localize "str_crafting_failed",_itemName], "PLAIN DOWN"];
format[localize "str_crafting_failed",_itemName] call dayz_rollingMessages;
//uiSleep 2;
};
};