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

Function

getAccounts

Returns all accounts on the server.

Syntax

table getAccounts()

Differences from MTA:SA

  • In MTA:SA this function is client-side only.

In MTA:SA

getAccounts()

Returns

A table of accounts.

Example

outputServerLog("Kont na serwerze: " .. #getAccounts())

See also