❓Documentation
On this page you will find the most frequently asked questions about our phone esx version and their answers.
How do I send an ambulance dispatch after die?
The sample code below is adapted for qb-ambulancejob only If you have a different script, you have to adapt it yourself.
Find the "hospital:server:ambulanceAlert"
function in qb-ambulancejob/client/dead.lua and laststand.lua then replace it with the following code.
local reportMessage = "Report Message"
local reportPhoto = "Image Link" or nil
local job = "ambulance" -- job code
local anonymous = false -- or true
exports["gksphone"]:SendDispatch(reportMessage, reportPhoto, job, anonymous)
How do I set the visibility of apps by jobs?
You can make the application you want visible to some jobs and invisible to others.
To make it visible, you must add it to the allowjob section as in the example below.
To make it invisible, you must make the same addition to the blockedjobs section.

How to add filter in Advertising?
To add filters to the Advertising application, you can add filters like the examples below.
The order of the categories you write should be "jobname: filtername".

How do I add new jobs to Business invoices in Bank/billing App?
Here you can add new jobs to commercial invoices in the invoice creation in the bank application. (gksphone/config/config.json)

What are the registercommands on the phone?
/phone
Allows you to turn on the phone
/delphone
It is used when the phone prop gets buggy
/twitterverify none/blue/yellow username
Giving/Receiving a tick to a Squawk user
/blocktwitter true/false
You can block sharing on Squawk
/bantwitter true/false username
You can ban or unlock a squawk user's account
/phonenewnumber id newphonenumber
You can give a person a unique phone number. (The person who is given a private number can use the new number by selecting it from the SIM application)
/adminauth true/false
So you can delete unwanted squawks, ads, snapgram
/phonechangenumber phoneID oldNumber newNumber
to change a phone number
/chargephone playerSource 0-100
change phone charge percentage
/snapgramVerify none/blue username
Giving/Receiving a tick to a Snapgram user
How to fix license error or config.json file?
How to set E-SIM operator names and package contents?
Open the gksphone/config/config.lua file and change the names of the places indicated by the arrows in the picture below.

name
You can write the package name here
label
You can write the package name here
sms
If the SMS in the package runs out, the fee charged by your bank per SMS
call
If the Call/Min in the package runs out, the fee charged by your bank per SMS
internet
If the Internet/GB in the package runs out, the fee charged by your bank per SMS
newnumber
Fee for ordering a new number from the SIM application
After the operator names are changed, you need to edit the operator names in the package names!
Editing the package contents is your own personal preference.

The places marked with arrows must be the same as the operator names you edited, marked with arrows in the first picture. Package names, prices and contents are your own choice.
Setting charge usage
You can set the "ChargeMillisecond" option to how many milliseconds it will take to lose 1% charge. (gksphone\config\charge\config.lua)

Last updated