Xpl connected

From Sim Innovations Wiki
Jump to navigation Jump to search

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("Wowsers, we are connected to X-Plane!")
end