Ammo Box Delete script for server admins!!
Code:
_boxes = nearestObjects ("MedBox0");
_exclude = nearestObjects [[10515, 2285, 0], ["MedBox0"], 50] + nearestObjects [[6805, 2725, 0], ["MedBox0"], 50] + nearestObjects [[6415, 2755, 0], ["MedBox0"], 50] + nearestObjects [[12000, 9125, 0], ["MedBox0"], 50];
_cboxes = count _boxes;
for "_a" from 0 to _cboxes do
{
_box = (_boxes select _a);
if (!(_box in _exclude)) then
{
deleteVehicle _box;
};
};
Well that's pretty much it!!
Either ,
Thought id share!
Pretty helpful, might give it a go later.