Server
You will find server events of our gksphonev2 that you can use in this page.
Exports
Send Mail
-- src => Player's ID
local src = source
local MailData = {
sender = 'GKSHOP',
image = '/html/img/icons/mail.png',
subject = "GKSPHONE",
message = 'TEST',
button = { --- If you don't want it to be a button, please remove it.
enabled = true,
buttonEvent = "xxxxx:client:setLocation",
buttonData = waitingDelivery, -- data
buttonname = "Test Button"
}
}
exports["gksphone"]:SendNewMail(src, MailData)Send Offline Mail
New Billing
Send Notification
New Number
Send Dispatch
Bank History Save
Job Status Change
The job in the Dispatch section is for opening and closing
Is Unpaid Bill
To inquire if the player has any outstanding bills
Change Number
Change phone number
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