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/nilaccountId: The wallet account number ornilif not found.
Arguments:
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/nilaccountId: The wallet account number ornilif not found.
Arguments:
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:
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