CLIENT EXPORTS
Open Phone
Opens the phone interface for the local player.
exports["17mov_Phone"]:OpenPhone()Close Phone
Closes the phone interface for the local player.
exports["17mov_Phone"]:ClosePhone()Set Phone Block State
Blocks or unblocks the local player from using their phone. When blocked, the player cannot open the phone interface.
exports["17mov_Phone"]:SetPlayerPhoneBlockState(state)state
boolean
❌
true to block the phone, false to unblock.
Has Phone Item
Checks if the player currently has the required phone item in their inventory.
local hasPhone = exports["17mov_Phone"]:HasPhoneItem()Returns:
boolean:trueif the player has the phone item,falseotherwise.
Is Phone Open
Checks if the phone interface is currently visible (open) for the player.
Returns:
boolean:trueif the phone is open.
Is Phone Minimized
Checks if the phone interface is currently minimzed, and if so - it returns current position and height
Returns:
{height = number, x = number, y = number, isMinimized = boolean}
Create Notification
Sends a custom notification to the player's phone. Supports locale keys and dynamic replacements.
Toggle Flashlight
Toggles the phone's flashlight mode.
state
boolean
❌
true to turn on, false to turn off.
Get Flashlight State
Checks if the flashlight is currently active.
Returns:
boolean:trueif the flashlight is on.
Set Streamer Mode State
Toggles the Streamer Mode setting. Streamer Mode hides sensitive information (like phone numbers or explicit images) from the UI.
state
boolean
❌
true to enable Streamer Mode.
Get Streamer Mode State
Checks whether Streamer Mode is currently enabled.
Returns:
boolean:trueif enabled.
Open App
Opens a specific application on the phone programmatically.
appName
string
❌
The internal name of the app (e.g., "messages", "camera").
Close App
Closes a currently open application on the phone.
appName
string
❌
The internal name of the app to close.
GetSignalTowers
Returns a table with all Signal Towers from config
Returns:
{coords: vector3, radius: number}[]
GetSignalLevelForCoords
Returns a 0-4 value that represent signal strenght for given coordinates
coords
vector3
❌
Coords to check signal
Returns:
number (0-4)
GetPlayerSignalLevel
Returns a current player signal strenght
Returns:
number (0-4)
GetConfig
Retrieves the full phone configuration, allowing other scripts to read global settings, available applications, and their specific parameters.
Returns:
tableConfig: The main configuration table of the script.
GetPlayerNumber
Returns the phone number of the simcard currently equipped by the player.
Returns:
stringplayerNumber: The current player's active phone number.
SetPhonePosition
Sets phone position on screen
x
float
❌
x coordinates (0.0-1.0) 0 being right edge of the screen, 1 being left edge of the screen
y
float
❌
y coordinates (0.0-1.0) 0 being bottom edge of the screen, 1 being top edge of the screen
GetPhoneNumberFormat
Returns the current config.lua number formating style
Returns:
string | nil phoneNumberFormat
GetPhoneMode
Returns current phone mode - Default / Simcards / Unique Phones
Returns:
PhoneModes phoneMode
GetUserPhoneNumbers
Returns all user phone numbers
Returns:
{number: string, active: number}[] numbers
GetUserBrokenPhones
Returns all user broken phones
Returns:
InventoryItem[] brokenPhones
Last updated