Fs2 connected

From Sim Innovations Wiki
Jump to navigation Jump to search

Description

connected = fs2_connected()

fs2_connected is used to check if there is an active connected with FS2.

Return value

Argument Type Description
connected Boolean True is connected, otherwise false.

Arguments

This function requires no arguments

Example

if fs2_connected() then
  print("We are connected to FS2")
end