1.0.1.1 part 3

This commit is contained in:
vbawol
2013-05-29 08:18:17 -05:00
parent 7805cc8e4f
commit dbe8fb206a
2 changed files with 7 additions and 4 deletions

View File

@@ -102,11 +102,13 @@ if (_qty >= _qty_in) then {
};
} else {
// Sell
if((typeOf (unitBackpack player)) == _part_in) then {
removeBackpack player;
for "_x" from 1 to _qty_out do {
player addMagazine _part_out;
};
};
};
cutText [format[("Traded %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];

View File

@@ -97,9 +97,10 @@ if (_qty >= _qty_in) then {
player addMagazine _part_out;
};
};
cutText [format[("Traded %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
};
cutText [format[("Traded %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
{player removeAction _x} forEach s_player_parts;s_player_parts = [];
s_player_parts_crtl = -1;