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

Function

removeAccount

ServerAccountsIdentical to MTA:SA

Deletes an account together with its data.

Syntax

bool removeAccount(account theAccount)

Arguments

theAccountaccount
The account.

Returns

true on success.

Example

local acc = getAccount("test")
if acc then removeAccount(acc) end

See also