They need to give warning shots to a helicopter, give enough time for it to comply and if they do not fly off after the tracer (warning) shots then they are cleared to open fire on the helicopter, not the pilot.
(3.8.2) As any other party: Warning shots must be issued with 3 tracer rounds past the front and rear of the aircraft. Enough time should be given to comply before taking action.