Adv. Trading handle other and free vehicle types

Allow players to sell vehicles without keys and add boat and bike
trading classes to buy/sell
This commit is contained in:
icomrade
2016-04-28 23:40:28 -04:00
parent 4b9d6df0bb
commit bc0d5027f5
6 changed files with 66 additions and 49 deletions

View File

@@ -17,7 +17,7 @@ switch (true) do {
{
[_item] call Z_displayBackpackInfo;
};
case (_type == "trade_any_vehicle") :
case (_type in ["trade_any_vehicle", "trade_any_vehicle_free", "trade_any_vehicle_old", "trade_any_bicycle", "trade_any_bicycle_old", "trade_any_boat", "trade_any_boat_old"]) :
{
[_item] call Z_displayVehicleInfo;
};