mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add buying to and selling from dayz_onBack
Also: - Fixed typo Z_fill(e)TradeTitle - Fixed "not enough slots to accept change" message shows when "not enough money" should show instead
This commit is contained in:
@@ -39,6 +39,7 @@ if (_selection == 2) then { //gear
|
||||
|
||||
_p = primaryWeapon player;
|
||||
_allowedPrimary = if (!isNil "_p" && _p != "") then {0} else {1};
|
||||
if (DZE_TwoPrimaries == 2 && dayz_onBack == "") then { _allowedPrimary = _allowedPrimary + 1; };
|
||||
|
||||
// (secondaryWeapon player) returns launcher, doesn't work for pistol
|
||||
_allowedSidearm = 1;
|
||||
|
||||
Reference in New Issue
Block a user