setdammage 0;cargo
I think...
Not exactly...
"_x setDamage 0" forEach (cargo nameoftheplane)
OFP sqs code is not exactly OOP
But to answer the immortal passengers thing, you would need to add that same eventHandler for them as you add for the plane..
So try putting the following in the plane's init field:
this addEventHandler ["hit",{(_this select 0) setdammage 0; {_x setDamage 0} forEach (crew (_this select 0) )}]; {_x addEventHandler ["hit",{ (_this select 0) setDamage 0}]} forEach (crew this)
(sorry, no code tags because they screw up that line for some reason..)
Or something like that..
Not tested at all so no guarantees it works..