Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

SERVER EXPORTS

Wallet_GetAccountNumberBySrc

Retrieves the unique wallet account number associated with a player's server ID.

local accountId = exports["17mov_Phone"]:Wallet_GetAccountNumberBySrc(src)

Returns:

  • string / nil accountId: The wallet account number or nil if not found.

Arguments:

Argument
Type
Optional
Explanation

src

number

❌

Player Server ID (source)


Wallet_GetAccountNumberByNumber

Retrieves the unique wallet account number associated with a specific phone number.

local accountId = exports["17mov_Phone"]:Wallet_GetAccountNumberByNumber(number)

Returns:

  • string / nil accountId: The wallet account number or nil if not found.

Arguments:

Argument
Type
Optional
Explanation

number

string

❌

Target phone number


Wallet_AddTransaction

Creates a new transaction between two wallet accounts and synchronizes the data with the active players' phones.

Arguments:

Argument
Type
Optional
Explanation

fromAccount

string

❌

Sender's wallet account number

toAccount

string

❌

Receiver's wallet account number

fromName

string

❌

Name displayed as the sender

toName

string

❌

Name displayed as the receiver

description

string

❌

Transaction label or description

amount

number

❌

The monetary value of the transaction

Last updated