I often do the following, not sure if it is the best method, but it gets the job done.
If.. player IN helicopter.. (code required etc) end = true;
Create a trigger condition: end
On Activation: forceEnd
Type: End #1
That's it for me. Sometimes it seems that End #1 doesn't work, while #2 does. You could try that in case this doesn't work.