Just for know, if I want my Cago and passenger doors opening what must I write in the customised box ??
There's no general rule. Don't you think that, if every airplane used the same door configuration, we would programmed it as a general rule that would work with every airplane, without requiring an editor to begin with ?
In fact, GSX HAS a default door configuration, which is the same as the default airplanes. And it's the main door opens with Shift+E, Cargo doors open with Shift+E and then 2, and Service doors open with Shift+E then 3. If your 3rd party airplane uses THIS configuration, it will work without any editing.
But, 3rd party airplanes don't always respect the default doors assignment, so there are two possible outcomes:
1) The airplane uses DEFAULT door variables, but REARRANGED. For example, Cargo opens with Shift-E and 3 and Service opens with Shift-E and then 2. In this case, you don't have to write any XML, you simply reassign the doors to one of the 4 possible choices, since FSX only handles 4 doors at the most.
2) The airplane uses CUSTOM door variables, using L: user variables. In THIS case, you HAVE to write an XML expression which, as explained on the GSX manual, usually takes this form:
(L:MyVar, bool)
This means that GSX will know that door is open when the MyVar variable is not zero.
Of course, MyVar it's just an EXAMPLE. If the 3rd party airplane uses any custom variable, you must figure it out its name, sometimes this can be glanced from the gauges (if they are written in XML) or it might be found in the .MDL file, they usually have obvious names such as L:CargoDoor1, etc.