ConnectToServer

From Onset Developer Wiki
Revision as of 18:10, 30 August 2019 by BlueMountains (talk | contribs) (Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Connects the game to another server. The connection will happen on the next game tick.}} {{FuncSyntax|ConnectToServer(Address,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
ConnectToServer

Type: Function
Context: Client
Introduced: v1.0

Description

Connects the game to another server. The connection will happen on the next game tick.

Syntax

ConnectToServer(Address, Port [, Password])

Parameters

  • Address
    Server IP or hostname.
  • Port
    Server port.
  • Password (optional)
    Optional server password.

Return Value

  • This function does not return anything.

Example

__EDIT_ME__

See also

__EDIT_ME__