mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +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 {
|
if (_allowedBackpacks >= _toBuyBags) then {
|
||||||
_check3 = true;
|
_check3 = true;
|
||||||
} else {
|
} else {
|
||||||
|
if (_allowedBackpacks == 0) then {
|
||||||
systemChat localize "STR_EPOCH_TRADE_HAVE_BACKPACK";
|
systemChat localize "STR_EPOCH_TRADE_HAVE_BACKPACK";
|
||||||
|
} else {
|
||||||
|
systemChat localize "STR_EPOCH_TRADE_ONE_BACKPACK";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
if (_allowedBinocular > -1) then {
|
if (_allowedBinocular > -1) then {
|
||||||
_check4 = true;
|
_check4 = true;
|
||||||
|
|||||||
@@ -16158,6 +16158,9 @@
|
|||||||
<Key ID="STR_EPOCH_TRADE_HAVE_BACKPACK">
|
<Key ID="STR_EPOCH_TRADE_HAVE_BACKPACK">
|
||||||
<English>You already have a backpack.</English>
|
<English>You already have a backpack.</English>
|
||||||
</Key>
|
</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">
|
<Key ID="STR_EPOCH_TRADE_OFFER">
|
||||||
<English>I would offer %1 %2.</English>
|
<English>I would offer %1 %2.</English>
|
||||||
<German>Ich biete %1 %2.</German>
|
<German>Ich biete %1 %2.</German>
|
||||||
|
|||||||
Reference in New Issue
Block a user