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

Function

getServerPassword

ServerServerIdentical to MTA:SA

Returns the server password.

Syntax

string getServerPassword()

Returns

The password, or false when the server is open.

Example

outputServerLog(getServerPassword() and "Serwer z haslem" or "Serwer otwarty")

See also