- Documentation
- Server functions
- 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())