ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getServerPort

Function

getServerPort

ServerServerIdentical to MTA:SA

Returns the port the server accepts players on.

Syntax

int getServerPort()

Returns

The port.

Example

outputServerLog("Serwer dziala na porcie " .. getServerPort())

See also