GetServerPort

From Onset Developer Wiki
Revision as of 09:19, 7 October 2020 by BlueMountains (talk | contribs) (Created page with "{{Info|Function|Client|1.3.0}} {{FuncDescription|Gets the current server port.}} {{FuncSyntax|GetServerPort()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|The po...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetServerPort

Type: Function
Context: Client
Introduced: v1.3.0

Description

Gets the current server port.

Syntax

GetServerPort()

Parameters

  • This function has no parameters.

Return Value

Example

ConnectToServer(GetServerIP(), GetServerPort())

See also