fnc_canStitchNearbyCCP.sqf 349 B

12345678910111213141516171819
  1. /*
  2. * Author: M3ales
  3. *
  4. * Arguments:
  5. * Unit
  6. * Return Value:
  7. * True if eligable to use stitch all action
  8. *
  9. * Example:
  10. * [cursorTarget, player, []] call rd501_fnc_canStitchNearbyCCP
  11. *
  12. * Public: No
  13. */
  14. params ["_target", "_player", "_params"];
  15. alive _target &&
  16. { _player call rd501_fnc_checkInsideCCP } &&
  17. { _player call rd501_fnc_isDoctor }