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.
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)
Last updated