Difference between revisions of "Fsx connected"
Jump to navigation
Jump to search
(<syntaxhighlight> instead of <source>) |
(Back to source) |
||
Line 20: | Line 20: | ||
== Example == | == Example == | ||
< | <source lang="lua"> | ||
if fsx_connected() then | if fsx_connected() then | ||
print("We are connected to FSX!") | print("We are connected to FSX!") | ||
end | end | ||
</ | </source> |
Revision as of 12:32, 12 September 2019
Description
connected = fsx_connected()
fsx_connected is used to check if there is an active connected with FSX.
Return value
Argument | Type | Description |
---|---|---|
connected | Boolean | True is connected, otherwise false. |
Arguments
This function requires no arguments
Example
if fsx_connected() then
print("We are connected to FSX!")
end