To open Right and Left doors use in the init line of the helicopter, or in the script this code:
// open right doors
[heli] exec "ca\air2\mi35\data\scripts\rdoorop.sqs";
// open left doors
[heli] exec "ca\air2\mi35\data\scripts\ldoorop.sqs";
Where the "heli" is the name of the helicopter in the editor.
To close Right and Left doors use in the init line of the helicopter, or in the script this code:
// close right doors
[heli] exec "ca\air2\mi35\data\scripts\rdoorcl.sqs";
// close left doors
[heli] exec "ca\air2\mi35\data\scripts\ldoorcl.sqs";
Where the "heli" is the name of the helicopter in the editor.