Hi pirke, there are spaces in these lines that shouldn't be there.
Code:
aircraft.hitNamed(part.NamedDamageTypes.ControlsEl evatorDisabled);
aircraft.hitNamed(part.NamedDamageTypes.ControlsAi leronsDisabled);
aircraft.hitNamed(part.NamedDamageTypes.ControlsRu dderDisabled);
aircraft.hitNamed(part.NamedDamageTypes.FuelPumpFa ilure);
If that doesn't work, can you post the script file that you are using? Copying and pasting things back and forth makes errors more likely. It would be easier to see the .cs file.