Server-side exports

Here you can find all the server-side exports of our phone.

setPlayerPhoneNumber(source, number)

exports.high_phone:setPlayerPhoneNumber(source, number)

Sets a specified online player's phone number. It does not modify the number inside the database! Only in the players cache.

getPlayerPhoneNumber(source)

local phoneNumber = exports.high_phone:getPlayerPhoneNumber(source)

Gets a specified online player's phone number.

getPlayerBankNumber(source)

local bankNumber = exports.high_phone:getPlayerBankNumber(source)

Gets a specified online player's bank number.

setPlayerBankNumber(source, number)

exports.high_phone:setPlayerBankNumber(source, number)

Sets a specified online player's bank number. It does not modify the number inside the database! Only in the players cache.

getPlayerMailAddress(source)

local mailAddress = exports.high_phone:getPlayerMailAddress(source)

Gets a specified online player's mail address.

getPlayerTwitterEmail(source)

local mailAddress = exports.high_phone:getPlayerTwitterEmail(source)

Gets a specified online player's twitter mail address.

getPlayerTwitterData(source)

local twitterData = exports.high_phone:getPlayerTwitterData(source)

Gets a specified online player's twitter data.

sendMessageToNumber(number, from, content, attachments)

local success = exports.high_phone:sendMessageToNumber(number, from, content, attachments)

Sends a message to the specified phone number, notifies the player with that number if online.

sendMessageToPlayer(playerSource, from, content, attachments)

local success = exports.high_phone:sendMessageToPlayer(playerSource, from, content, attachments)

Sends a message to the specified online player.

Last updated