GetServerPort: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.3.0}} {{FuncDescription|Gets the current server port.}} {{FuncSyntax|GetServerPort()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|The po...")
 
(No difference)

Latest revision as of 09:19, 7 October 2020

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