fnc_canRefuel.sqf 199 B

12
  1. params ["_player", "_target", "_params"];
  2. (RD501_DRONE_BATTERY in (magazines _player)) && {(fuel _target) < 1} && {(speed _target) < 1} && {!(isEngineOn _target)} && {(_target distance _player) <= 4}