20,741
edits
Red Leader (talk | contribs) mNo edit summary |
m (add a GUI example for fg versions that no longer show a console) |
||
Line 7: | Line 7: | ||
This will print the string <code>Hello, World!</code> into the console. | This will print the string <code>Hello, World!</code> into the console. | ||
To show a message inside the FlightGear window using a tooltip instead, use the following snippet: | |||
<syntaxhighlight lang="nasal"> | |||
gui.popupTip("Hello, World!",3); | |||
</syntaxhighlight> | |||
<!-- | <!-- |