GetServerIP: Difference between revisions
From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.3.0}} {{FuncDescription|Gets the current server IP address.}} {{FuncSyntax|GetServerIP()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|Th...") |
(No difference)
|
Latest revision as of 09:19, 7 October 2020
Description
Gets the current server IP address.
Syntax
GetServerIP()
Parameters
- This function has no parameters.
Return Value
- The IP address as a string, useful for ConnectToServer.
Example
ConnectToServer(GetServerIP(), GetServerPort())