Server Event
You will find server events of our phone that you can use in this page.
Adding stock market coins
source : Player ID coinid : In gksphone\config.lua there is a coinid in "Config.Crytos". amount : Coin amount
local cryptoadd = exports["gksphone"]:cryptoadd(source, coinid, amount)
print(cryptoadd) => as true or falseRemove coins from stock market
source : Player ID coinid : In gksphone\config.lua there is a coinid in "Config.Crytos". amount : Coin amount
local cryptoremove = exports["gksphone"]:cryptoremove(source, coinid, amount)
print(cryptoremove) => as true or falseFind player id from phone number
local FindSource = exports["gksphone"]:GetSourceByPhone("PhoneNumber")
print(FindSource)Find phone number with source
-- src => Player's ID
local src = source
local FindPhoneNumber = exports["gksphone"]:GetPhoneBySource(src)
print(FindPhoneNumber)How to use phone notification?
title : Notification title message : Notification message img : You can use icons from the phone or use .png or .jpg in a photo duration : To set how long the notification stays (You must type the millisecond value) - default duration 5000
If you want a button with notification
buttonactive : Set to true to enable button button : buttonEvent : Which client will be triggered button : buttonData : data to add to button
Send Mail
Send Offline Mail
Specific Number
This function is an event that works for the phone numbers you specify "Config.SpecificNumber" in config.lua.
New Billing
Changing Phone Number
Changing the player's phone number
Last updated