Ammo Box Delete script for server admins!!

Posts 16 of 6 · Page 1 of 1
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!
Engrish?

//tooshort
Pretty helpful, might give it a go later.
Thanks for the post!
Posts 16 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?