fnc_getRefuelMagazine.sqf 192 B

123456789
  1. params[["_unit", player, [player]]];
  2. _hasItem = false;
  3. _items = magazines _unit;
  4. if (RD501_DRONE_BATTERY in _items) then
  5. {
  6. _unit removeItem RD501_DRONE_BATTERY;
  7. _hasItem = true;
  8. };
  9. _hasItem