SERVER EXPORTS
Generate Phone Number
Generates a new, unique, random phone number formatted according to the server's configuration.
local newNumber = exports["17mov_Phone"]:GeneratePhoneNumber()Returns:
string: The generated phone number.
Get Identifier From Number
Retrieves the player identifier (license) associated with a specific phone number. This function works even if the player is offline, as it checks the database.
local identifier = exports["17mov_Phone"]:GetIdentifierFromNumber(number)Returns:
string: The identifier assigned to the given phone number.
number
number | string
โ
A target phone number
Get Number From Player
Retrieves the phone number currently active on a player's device using their Server ID (Source).
local phoneNumber = exports["17mov_Phone"]:GetNumberFromPlayer(src)Returns:
string: The active phone number of the player.
src
number
โ
The player's server ID (source).
Get Player Source From Number
Retrieves the Server ID (Source) of an online player currently using the specified phone number.
local src = exports["17mov_Phone"]:GetPlayerSrcFromActiveNumber(number)Returns:
number|nil: The player's server ID if they are online and using the number, otherwisenil.
number
number | string
โ
A target phone number
Last updated