only in Garmsar-Side
case: you try to capture the helicopter, managed to repair it and try to bring it to base.
now if the pilot dies, the helicopter will despawn after a few seconds, which will most likely cause the death of the current pilot, if in the middle of a flight.
maybe only despawn the helicopter with something like this in the code:
waituntil ((count (crew CapVeh1)) == 0) ... --> no idea how
only in Garmsar-Side case: you try to capture the helicopter, managed to repair it and try to bring it to base.
now if the pilot dies, the helicopter will despawn after a few seconds, which will most likely cause the death of the current pilot, if in the middle of a flight.
maybe only despawn the helicopter with something like this in the code: waituntil ((count (crew CapVeh1)) == 0) ... --> no idea how