The best way to try this is to identify which plane you want to use. open it's pbo, look into its files for what code is used to animate the gear(much like animating a door). For example...
_plane Animate ["Rightgear", 1];
_plane Animate ["Leftgear", 1];
_plane Animate ["nosegear", 1];
Then you'll be looking like a fool with your pants on the ground Had to say it
Thanks 'sbg' The addon I am using is Rad_F18 Hornet
After I depbo'd the addon I found in the config.cpp that for the action to raise or lower gear it was calling on gearctrl.sqs ... in that I found ...
;Gear Animations
_frontGearAnim="frontgearanim"
_leftGearAnim ="leftgearanim"
_rightGearAnim="rightgearanim"
so using your suggestion I created gear.sqs with simply this ...
crash Animate ["Rightgearanim", 1];
crash Animate ["Leftgearanim", 1];
crash Animate ["frontgearanim", 1];
call that sqs from the planes init and bang - looking like a fool with your pants on the ground.