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

Function

getAccountIP

ServerAccountsIdentical to MTA:SA

Returns the IP address remembered at the last login.

Syntax

string getAccountIP(account theAccount)

Arguments

theAccountaccount
The account.

Returns

IP address or false.

Example

outputServerLog(tostring(getAccountIP(getAccount("jan"))))