Skip to content

engine.GetServerIP

Get the current server IP.

Syntax

string engine.GetServerIP()

Parameters

This function has no parameters.

Return value

The function returns a string of the current server IP.

Example

local ip = engine.GetServerIP()

print(ip)