mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Add backpack selling to Advanced Trading
It was not possible to sell a backpack from your gear or vehicle. Added option to sell from gear. Sell backpack from vehicle is still not possible currently due to Arma limitations.
This commit is contained in:
@@ -43,7 +43,7 @@ if (!isNull _backpack) then {
|
||||
};
|
||||
}forEach _kinds2;
|
||||
|
||||
[_normalMags,_normalWeaps, typeOf _backpack] call Z_checkArrayInConfig;
|
||||
[_normalMags,_normalWeaps, typeOf _backpack,[]] call Z_checkArrayInConfig;
|
||||
}else{
|
||||
_ctrltext = localize "STR_EPOCH_TRADE_STUPID";
|
||||
ctrlSetText [Z_AT_TRADERLINE2, _ctrltext];
|
||||
|
||||
Reference in New Issue
Block a user