GetServerPort
From Onset Developer Wiki
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())