; exit script 09 Information


; Saving player's status
aa = aP saveStatus "09Player";
; Player will be saved


; ================== BEGIN: WEAPON POOL ====================

#POOL

; Added by mission designer



; Weapon holders stolen?


_vehs = [carCiv];
; These vehicles will add their weapons to pool if they are close enough

_a = 0;
_b = count units group aP;

; Add all group vehicles to _vehs
#LOOPGroupVeh

? _b >= _a : goto "ENDGroupVeh"

_who = (units group aP) select _a;
? (vehicle _who != _who) and not ((vehicle _who) in _vehs) : _vehs = _vehs + [vehicle _who];

_a = _a + 1;
goto "LOOPGroupVeh";

#ENDGroupVeh

_a = 0;
_b = count _vehs;

#LOOPHolders
? _a >= _b : goto "ENDHolders"

_work = false;
_u = _vehs select _a
? (side (driver _u) == resistance) or (side (driver _u) == civilian) : _work = true;
? alive _u and (driver _u != driver _u) and ((_u distance aP) < 300) : _work = true;

? _work : pickWeaponPool (vehicle _u); clearWeaponCargo (vehicle _u); clearMagazineCargo (vehicle _u);

_a = _a + 1;
goto "LOOPHolders"

#ENDHolders


; ================== END: WEAPON POOL ====================






; ------------- END -------------
