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

Function

setAccountSerial

ServerAccountsIdentical to MTA:SA

Stores the Client ID assigned to the account.

Syntax

bool setAccountSerial(account theAccount, string serial)

Arguments

theAccountaccount
The account.
serialstring
Client ID.

Returns

true on success.

Example

setAccountSerial(account, getPlayerSerial(player))

See also