Xpl connected
Jump to navigation
Jump to search
Contents
Description
connected = xpl_connected()
xpl_connected is used to check if there is an active connected with X-plane.
Return value
Argument | Type | Description |
---|---|---|
connected | Boolean | True is connected, otherwise false. |
Arguments
This function requires no arguments
Example
if xpl_connected() then
print("We are connected to X-plane!")
end