- Download the release for your ESX version (ESX 1.1 & ESX 1.2) from Releases
- Copy/Drag the gcphone folder into your server resources folder. (You no longer need esx_addons_gcphone as it was merged with the phone)
- Import the following SQL's:
base.sql
andtwitter.sql
(This is the same as the other versions.) (Locales available in the sql folder.)- Add the following to your server.cfg AFTER es_extended & BEFORE any jobs. (Such as esx_ambulancejob, esx_policejob etc...)
ensure gcphone
- Start your server.
-No changes to fxmanifest is needed when adding new images to the resource due to Globbing. Can read more about this here.
-You need to ensure the resource is started before your jobs otherwise features that interact with them may not work.
-The following should remain false"useWebRTCVocal": false
as it doesn't work with onesync anymore.
-You need Screenshot Basic to take selfies/photos. Otherwise, set "enableTakePhoto": true,
to false
- Navigate to
gcphone > config.lua
line23
- Change
288
to your desired keybind. Default isF1
. See FIveM Key Mapping for reference.
- Navigate to
gcphone > html > static > config.json
and search for"defaultLanguage": "en_US",
- Below that line, you'll see
"language": {
this is the location of current translations. If you don't see yours here you'll need to add your own translations. Current languages are as followed:
en_US (English)
fr_FR (Français)
de_DE (Deutsch)
pl_PL (Polish)
es_ES (Spanish)
cs_CZ (Čeština)
- Choosing one of the above previations, change
"defaultLanguage": "en_US",
to your desired one.
- Navigate to
gcphone > html > static > config.json
and search for"reseau": "ReIgnited Mobile",
- Change
"reseau": "ReIgnited Mobile",
to your desired carrier.
- Navigate to
gcphone > html > static > config.json
and search for"useFormatNumberFrance": false,
- Setting it to false gives you a number like
xxx-xxxx
while true gives youxxxxxxx
.
- Navigate to
gcphone > html > static > config.json
and at the top you'll see"warningMessageCount": 999,
- This is the notification a player recieves to delete messahes. It's currently set to max.
- Navigate to
gcphone > html > static > sound
and save your new sound here. The sound must be an .ogg or .mp3 file. (.ogg recomended)- Navigate to
gcphone > html > static > config.json
and search for"sonido": {
- Add your new sound like so
"DISPLAYNAME": "FILENAME.FILEFORMAT",
. Example:
"sonido": {
"Astronomia": "ring.ogg",
"Safaera": "safaera.ogg",
"Bella Ciao": "bella_ciao.ogg",
"Casa Papel": "casa_papel.ogg",
"Iphone 11": "iphone_11.ogg",
"Tusa": "tusa.ogg",
"OwO": "OwO.ogg",
"Dank Ringtone": "dank.ogg",
"XXXTentacion": "xtentacion.ogg"
},
- Navigate to
gcphone > html > static > config.json
and search for the app name.- Remove the code that corresponds to it. Example:
{
"name": "Bourse",
"fr_FR__name": "Bourse",
"cs_CZ__name": "Burza",
"en_US__name": "Stock Market",
"de_DE__name": "Börse",
"es_ES__name": "Bolsa",
"icons": "/html/static/img/icons_app/bourse.png",
"routeName": "bourse",
"enabled": true
},
Note: If "enabled" is an option, can disable by setting it to false - Otherwise you need to remove the full code of that app as seen above.
- Navigate to
gcphone > html > static > img > background
- Place your desired new wallpaper here. Copy the name as you'll need it for step 4.
- Navigate to
gcphone > html > static > config.json
line42
. This where backgrounds start.- The wallpaper is done as such:
"DISPLAY NAME": "FILENAME.FILEFORMAT",
. 5. Ensure the file name corresponds correctly with whats insidegcphone > html > static > img > background
- Navigate to
gcphone > html > static > img > icons_app
and save your new icon here. Copy the name as you'll need it for step 3,- Navigate to
gcphone > html > static > config.json
and search for"icons":
. You'll find 11 results. Each result corresponds to a specific app.- Find your desired app and replace it with the one you added in step 1.
The following are default settings for new players that are adjustable within gcphone > html > static > config.json
:
"background_default": {
Phone Background
"coque_default": {
Phone Style
"sonido_default": {
Phone Ringtone
"defaultContacts": [{
Default contacts
"defaultLanguage": "en_US",
Default Language
- Navigate to
gcphone > html > static > config > config.json
- Search for
defaultContacts
This is where you add new Default Contacts. See below for details (You caa use letter + backgroundColor instead of icon if you so desire):
"defaultContacts": [
{
"number": "ambulance",
"display": "Ambulance",
"icon": "/html/static/img/icons_app/bank.png"
},
{
"number": "police",
"display": "Police",
"backgroundColor": "blue",
"letter": "P"
},
{
"number": "JOB NAME",
"display": "DISPLAY NAME",
"icon": "/html/static/img/icons_app/ICON LINK.png"
}
],
This assumes you already have the contact as a default contact.
- Navigate to
gcphone > html > static > config > config.json
- Search for
serviceCall
This is where you add new prompts. See below for details:
"serviceCall": [{
"display": "Police",
"icon": "/html/static/img/icons_app/police.png",
"subMenu": [{
"title": "Send Message",
"eventName": "esx_addons_gcphone:call",
"type": {
"number": "police"
}
},
{
"title": "Call Police Station",
"eventName": "gcphone:autoCallNumber",
"type": {
"number": "911"
}
}
]
},
{
"display": "Ambulance",
"backgroundColor": "red",
"subMenu": [{
"title": "Send Message",
"eventName": "esx_addons_gcphone:call",
"type": {
"number": "ambulance"
}
}]
},
{
"display": "DISPLAY NAME",
"backgroundColor": "COLOR INSTEAD OF ICON",
"subMenu": [{
"title": "Send Message",
"eventName": "esx_addons_gcphone:call",
"type": {
"number": "JOB NAME"
}
}]
},
{
"display": "DISPLAY NAME",
"icon": "/html/static/img/icons_app/ICONNAME.png",
"subMenu": [{
"title": "Send Message",
"eventName": "esx_addons_gcphone:call",
"type": {
"number": "JOB NAME"
}
}]
}
],
- You will need to edit the config.lua if you would like to add aditional preset locations like payphones/pick up locations similiar to PD.