mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fix message when buying multiple backpacks into empty gear
This commit is contained in:
@@ -95,7 +95,11 @@ if (_selection == 2) then { //gear
|
||||
if (_allowedBackpacks >= _toBuyBags) then {
|
||||
_check3 = true;
|
||||
} else {
|
||||
systemChat localize "STR_EPOCH_TRADE_HAVE_BACKPACK";
|
||||
if (_allowedBackpacks == 0) then {
|
||||
systemChat localize "STR_EPOCH_TRADE_HAVE_BACKPACK";
|
||||
} else {
|
||||
systemChat localize "STR_EPOCH_TRADE_ONE_BACKPACK";
|
||||
};
|
||||
};
|
||||
if (_allowedBinocular > -1) then {
|
||||
_check4 = true;
|
||||
|
||||
@@ -16158,6 +16158,9 @@
|
||||
<Key ID="STR_EPOCH_TRADE_HAVE_BACKPACK">
|
||||
<English>You already have a backpack.</English>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_TRADE_ONE_BACKPACK">
|
||||
<English>You can only buy one backpack into your gear.</English>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_TRADE_OFFER">
|
||||
<English>I would offer %1 %2.</English>
|
||||
<German>Ich biete %1 %2.</German>
|
||||
|
||||
Reference in New Issue
Block a user