mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
1.0.1.1 part 3
This commit is contained in:
@@ -102,9 +102,11 @@ if (_qty >= _qty_in) then {
|
|||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
// Sell
|
// Sell
|
||||||
removeBackpack player;
|
if((typeOf (unitBackpack player)) == _part_in) then {
|
||||||
for "_x" from 1 to _qty_out do {
|
removeBackpack player;
|
||||||
player addMagazine _part_out;
|
for "_x" from 1 to _qty_out do {
|
||||||
|
player addMagazine _part_out;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -97,9 +97,10 @@ if (_qty >= _qty_in) then {
|
|||||||
player addMagazine _part_out;
|
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 = [];
|
{player removeAction _x} forEach s_player_parts;s_player_parts = [];
|
||||||
s_player_parts_crtl = -1;
|
s_player_parts_crtl = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user