Carrier: there isn't a flight-planning function as such built into X-Plane, although you can program the FMS and then save the file.
The best way is to download a companion application called
Goodway. This will save it as an FMS flightplan, which you can upload into XPlane. Some aircraft models have performance data in them, which Goodway uses to plan the flight (or use your own data).
AppleMacster