Sets a specified online player's bank number.It does not modify the number inside the database! Only in the players cache.
Argument number
Argument name
Example value
1
source
1
2
number
"123"
getPlayerMailAddress(source)
local mailAddress = exports.high_phone:getPlayerMailAddress(source)
Gets a specified online player's mail address.
Argument number
Argument name
Example value
1
source
1
Returns a string containing the player's current mail address.
getPlayerTwitterEmail(source)
local mailAddress = exports.high_phone:getPlayerTwitterEmail(source)
Gets a specified online player's twitter mail address.
Argument number
Argument name
Example value
1
source
1
Returns a string containing the player's current twitter mail address.
getPlayerTwitterData(source)
local twitterData = exports.high_phone:getPlayerTwitterData(source)
Gets a specified online player's twitter data.
Argument number
Argument name
Example value
1
source
1
{
id = 0,-- The ID of the account.
email = "123", -- The email address of the account.
nickname = "Example", -- The nickname of the account.
picture = "https://image.com/image.png", -- The profile picture of the account.
banner = "https://image.com/image.png", -- The banner of the account.
joinedAt = 0, -- Timestamp in milliseconds when the account was created.
followers = "[]", -- Json encoded list of followers.
following = "[]", -- Json encoded list of users that the player follows.
blockedUsers = "[]", -- Json encoded list of blocked users.
bannedUntil = 0, -- Timestamp until when the account is banned.
rank = "default" -- The account's rank.
}
Returns nil if the player is not logged into twitter.