- Documentation
- Server functions
- getAccountByID
Function
getAccountByID
Returns the account with the given number (getAccountID).
Syntax
account getAccountByID(int id)Arguments
idint- Account number.
Returns
The account or false.
Example
local acc = getAccountByID(1)
if acc then outputServerLog("Pierwsze konto: " .. getAccountName(acc)) end