mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
10 lines
273 B
Plaintext
10 lines
273 B
Plaintext
closeDialog 0;
|
|
{
|
|
_magazines = magazinesAmmoCargo _x;
|
|
clearMagazineCargoGlobal _x;
|
|
{
|
|
if !(player canAdd (_x select 0)) exitWith {};
|
|
player addMagazine[_x select 0, _x select 1];
|
|
} foreach _magazines;
|
|
} foreach nearestObjects[player, ["container_epoch"], 5];
|