connectToServer

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 2.002.00
Hover & click on the images for descriptions

Description

Description:
Connects the client to the provided server.

Syntax

Syntax:
connectToServer [ip, port, password]
Parameters:
ip: String
port: Number
password: String - "" if no password
Return Value:
Nothing

Examples

Example 1:
connectToServer ["192.168.0.2", 2302, "test"];

Additional Information

See also:
serverCommand getSteamFriendsServers
Groups:
System

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Bottom Section