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
Description
Gets the current server port.
Syntax
GetServerPort()
Parameters
- This function has no parameters.
Return Value
- The port as an integer, useful for ConnectToServer.
Example
ConnectToServer(GetServerIP(), GetServerPort())