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

Function

getAllAccountData

ServerAccountsIdentical to MTA:SA

Returns all account data as a key-value table.

Syntax

table getAllAccountData(account theAccount)

Arguments

theAccountaccount
The account.

Returns

A data table.

Example

for key, value in pairs(getAllAccountData(account)) do
    outputServerLog(key .. " = " .. tostring(value))
end