Client-side exports

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

getPhoneNumber()

local phoneNumber = exports.high_phone:getPhoneNumber()

This export function gets your phone number.

disablePhone(boolean)

local phoneNumber = exports.high_phone:disablePhone(boolean)

This export function gets your phone number.

openPhone()

exports.high_phone:openPhone()

This export function opens your phone if you have the required item, are not in water, etc.

closePhone()

exports.high_phone:closePhone()

This export function closes your phone.

isOpen()

local isOpen = exports.high_phone:isOpen()

This export function returns a boolean if your phone is open.

This export function returns a boolean if your phone is open.

isOnCall()

local isOpen = exports.high_phone:isOnCall()

This export function returns a boolean if you're on a phone call.

getCurrentCall()

local isOpen = exports.high_phone:getCurrentCall()

This export function returns a boolean if you're on a phone call.

isCameraEnabled()

local isCameraOpen = exports.high_phone:isCameraEnabled()

This export function returns a boolean if you're currently in the camera app.

sendNotification(app, content, length)

exports.high_phone:sendNotification(app, content, length)

This export function sends a notification into your phone.

Last updated