- Documentation
- Server functions
- removeAccount
Function
removeAccount
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