Fsx connected
Jump to navigation
Jump to search
Description
connected = fsx_connected()
fsx_connected is used to check if there is an active connected with FSX or Prepar3d.
Return value
Argument | Type | Description |
---|---|---|
connected | Boolean | True is connected to the hardware, otherwise false. |
Arguments
This function requires no arguments
Example
if fsx_connected() then
print("We are connected to FSX of Prepar3d!")
end