❓Documentation
On this page you will find the most frequently asked questions about our phone esx version and their answers.
How to add new background photo in phone?
First, put the wallpaper you will add in gksphone\html\static\img\background
Then add the wallpaper in gksphone\html\static\config\config.json as in the example.
How to add new ringtone photo in phone?
First, put the wallpaper you will add in gksphone\html\static\sound
Then add the music in gksphone\html\static\config\config.json as in the example
How do I switch between incoming languages on the phone?
When you buy the phone, the phone reaches you fully compatible with 6 languages. If the language you want is outside of these languages, you have to translate it yourself.
You need to write the name of the file you have put in the gksphone\locale\ folder in config.lua.
You need to write the name of the file you have put in the gksphone\html\static\config\lang\ folder in config.json.
Lua language files must be in the gksphone\locale\ folder. The json language files should be in the gksphone\html\static\config\lang\ folder. Otherwise the language files won't work.
How do I send an ambulance dispatch after die?
You can send ambulance dispatch in two ways on our phone. With /911e (message) and "G" key after death. Add the following line of code to your ambulancejob script for the G key configuration.
The sample code below is adapted for esx_ambulancejob only If you have a different script, you have to adapt it yourself.
Find the SendDistressSignal()
function in esx_ambulancejob/client/main.lua and replace it with the following code.
How to disable an app on phone menu screen?
Find application line in gksphone\html\static\config\config.json and set "show" to false
How do I change the name of an application?
Find application line in gksphone\html\static\config\config.json and set "name" to what ever want to name
How do I set the visibility of apps by jobs?
Inside the gksphone\html\static\config\config.json file you can do it like in below examples.
allowjob: You can make the application appear only in the jobs you want.
blockedjobs: You can close the application to the jobs you want.
How can I change the phone's startup apps?
If you want to increase or decrease the startup applications on your phone, you can setting in gksphone\html\static\config\config.json.
Don't forget to set the "show" feature to "false" in the AppStore section of the application you have added here. Likewise, add the application you will remove to the AppStore section and don't forget to set the "show" feature to "true".
How to add filter in Yellowpages?
There are 3 filters on the phone by default. You can increase or decrease them if you want. You can make your changes in the following section in gksphone\html\static\config\config.json
How do I set the set the positions of notify icons on the screen?
You can set the positions of the application icons on your screen (when the notification comes) as top and left in px in gksphone\html\static\config\config.json
How do I add a job to the Jobs app?
You will make your additions into gksphone\html\static\config\config.json.
label : The name of the profession to appear in the application jobname : Occupational codes of message recipients (you can add more than one) logoname : it's usually better to write job codes. (gksphone\html\static\img\jobs) add the pictures to the location we provide and give the name you named logoname (must be png) category: Write one of the category options you have set in JobCategory.
How to add extra category in Jobs app?
Do it as you see in the examples in the picture above, the first value is the job code, the second value is the text that will appear in the Jobs app.
How do I activate loaf house?
Find "Config.loafHouse" in gksphone/config.lua and set it to true.
After you need to find "House" application in the gksphone/html/static/config/config.json and set the show part to true.
What's in ConfigAPI.lua?
What's in Config.lua?
What's in Config.json?
What are the registercommands on the phone?
I forgot password, what should I do?
The person who forgets the password should delete the following file on his own computer.
Mouse stuck in the middle while using the phone. How can I fix?
Mouse Input Method : DirectInput should be set from in-game settings, Keyboard / Mouse category.
How to fix license error or config.json file?
Check your config.json file. There may be a mistake. You can repair or see your error on this page. https://jsonformatter.curiousconcept.com/
How to add image of items in Gotur and Ebay app
You need to add images of items to gks_gotur and gks_ebay/img folder.
How to change the phone numbers to be created?
File location: gksphone/server/serverAPI/serverAPI.lua
Find "GetPhoneRandomNumber" line in serverAPI.lua
You can reduce or shorten the number length by changing the numbers in random.
%07d => here replace digits based on number length
If you want to add a specific number to the beginning of the number
I added "05" to the beginning of the number as in the example below
If you want to put "-" sign between phone number, check below example
How can I charge phone?
If you don't want to use the charging system on your phone, change the ChargeOn = true line to false in gksphone/charge/config.lua.
You can charge it in 2 ways using the charging system of our phone.
You can charge it with the powerbank item,
You can charge with our normal and fast charging stations.
How do I charge with the item?
You need to add the Powerbank item to your inventory.
File location: ox_inventory > data > items.lua
You can set how many percent the powerbank item will charge in how many seconds.
How do I charge with the charging stations?
You can find the charging station in any location on the map, go to it and press the "e" button to start the charging process.
We have placed normal and fast charging stations in some parts of the map for you. But you can move them wherever you want.
You can set how many percent per second the charging stations should charge, and how much fee should a 1 percent charge charge.
How do I set the signal system on the phone?
The signal system is that phone apps become unusable in some areas of the map. Don't forget that you need the polyzone script to use this script.
You can turn off the signal system by setting false in config.lua.
You can set which apps your players can and can't use when the phone signal is cut off.
You can enter in gksphone/html/static/config/config.json and set the signal line under the applications to true or false.
GetExtendedPlayers error
add the following code to the bottom line of es_extended > server > functions.lua
How to add phone item in ox_inventory?
Open "ox_inventory > data > items.lua" , you must add line below.
Search for phone in this file. If an item exists, replace it with the following code. If not, add it. In case of 2 phone items you will get an error.
Esx Billing
Making esx_billing compatible for the new billing system
Clean the inside of esx_billing > server > main.lua and paste the code below. save the file at the end of this process and restart the server
This billing system only works with society The code below has only been tested with ESX Legacy and oxmysql.
If your system is not suitable, configure it yourself
Last updated