Server Exports

You will find client events of our gksphonev2 that you can use in this page.

Messages

SendMessage

--- Sends a message from any number to another number
--- @param fromNumber string Sender phone number
--- @param toNumber string Receiver phone number
--- @param message string|table|vector2 Message content, table with coords {x,y}, or vector2 for GPS
--- @return table { status = boolean, messageId = number|nil, error = string|nil }
exports["gksphone"]:SendMessage("101-11111", "101-22222", "Hello!")

BroadcastSystemMessage

--- Broadcasts a system message to all online players
--- @param message string|table Message content
--- @param senderNumber string Sender number/name
--- @return table { status = boolean, sentCount = number }
exports["gksphone"]:BroadcastSystemMessage("Hello!", "Police")

Mail

Send Mail

Send Offline Mail

Billing

New Billing

Is Unpaid Bill

To inquire if the player has any outstanding bills

Misc

Send Notification

New Number

Change Number

Change phone number

Emergency Alert

Services

Send Report

Job Status Change

The job in the Dispatch section is for opening and closing

Job Status

Bank App

Bank History Save

Custom App

Add Custom App

Cypto

Add Crypto

Remove Crypto

Live Stream

Add Cheer

Add Coin

Social Media

Toggle Verified

Heavy Jammer

heavyJammerByPhone

heavyJammerByPhones

Jam or unjam multiple phones at once.

isPhoneJammed

Check if a specific phone is currently jammed.

getJammedPhones

Get a list of all currently jammed phones.

clearAllJammers

Phone Data Exports

GetPhoneBySource

Find phone number with Source

GetSourceByPhone

Finding a source by phone number

GetPhoneDataBySource

Access the data of the phone used with the Source number

GetPhoneDataByNumber

Accessing the phone's data with the phone number

GetPhoneDataBySetupOwner

Accessing all phone data of the player

GetPhoneDataByPhoneUniqID

Access phone data with the phone's UniqID

GetPhoneDataByCitizenID

Access phone data with the user's ID (You will access the data of the last phone the user opened)

GetPhoneLangBySource

The language the user chooses on the phone

Last updated