- Messages
- 371
- Country

Hello,
I have a problem that I don't arrive to solve since several hours.
I display a Flight plan waypoint list on a FMC window. So, for a reason that I don't understand, the GPS function FlightPlanWaypointMagneticHeading return always 0 for all my legs. I don't find the error and I begin to become desesperate....
Can you help me to find the issue ?
Code is the following :
I have a problem that I don't arrive to solve since several hours.
I display a Flight plan waypoint list on a FMC window. So, for a reason that I don't understand, the GPS function FlightPlanWaypointMagneticHeading return always 0 for all my legs. I don't find the error and I begin to become desesperate....
Can you help me to find the issue ?
Code is the following :
Code:
\{lsp=18}\{clr1}%
%((C:fs9gps:FlightPlanWaypointsNumber) s2 0 !=)
%{if}
%(2 (L:WPT_shiftline,enum) + sp1)
%{loop}
%(l1 (>C:fs9gps:FlightPlanWaypointIndex))
\{lsp=16}\{clr1}% %((%C:fs9gps:FlightPlanWaypointMagneticHeading,degrees))%!03d!%\n
\{lsp=16}\{clr3}%((C:fs9gps:FlightPlanWaypointIdent))%!s!\t
\{clr1}\{nr}%((C:fs9gps:FlightPlanWaypointDistance,nmiles))%!d!%NM%\t
\{clr3}\{nr}%((C:fs9gps:FlightPlanWaypointETA,hours) flr 100 %)%!02d!%:%((C:fs9gps:FlightPlanWaypointETA,minutes) flr 60 %)%!02d!%\t
\{clr1}\{nr}%speed%\t%
%
\n
%(l1 ++ s1 l2 < l1 6 (L:WPT_shiftline,enum) + <= and)
%{next}
%{end}
