[Release] ESX-ALphone (call system)


#301

i have a problem with this, i add someone as a contact then call them but i can’t hear them and they can’t hear me, can someone help me?


#302

I need sql to edit in my server, thanks :slight_smile:


#303


how to repair it ? players is dont have numbers :frowning:


#304

You mean that, you can hear just phone or nearby players?
Thats problem of the language Lua…


#305

Probably db problem.


#306

[V2_Beta_06] work 100% for call and message and is à beautiful mobile.

Config message automatic with GPS job
Htlm…gcphone\html\static\config---- gcphone (edit with notepad ++)

For default le f2 change key in config.lua …https://docs.fivem.net/game-references/controls/
For exemple Key G is good for me

No work with message automatic ambulance remove message notification (touche G detress… remove notification esx_ambulance)

For call change for Channel gta in script …gcphone\html\static\config------ gcphone (edit with notepad ++)

The script in french make translate for mobile in game but is à beautiful mobile work 100%

For make a automatic message IN GAME go in /call(appelle) and favourite (favoris)…

In serveur.cfg

Esx…

IN FIRST !!!
START VK_CALL (just download in github )
START ADON…GCPHONE
START GCPHONE

example for gcphone\html\static\config ------- with config call channel is okay just---- paste

“reseau”: “namemobile”,

“themeColor”: “#303f9f”,
“colors”: [
#EF5350”,
#EC407A”,
#AB47BC”,
#7E57C2”,
#5C6BC0”,
#42A5F5”,
#29B6F6”,
#26C6DA”,
#26A69A”,
#66BB6A”,
#9CCC65”,
#D4E157”,
#FFCA28”,
#FFA726”,
#FF7043”,
#8D6E63”,
#78909C
],

“useFormatNumberFrance”: false,

“useWebRTCVocal”: false,
“RTCConfig”: {
“iceServers”: [{
“urls”: [“turn:gannon.ovh”],
“username”: “jojo”,
“credential”: “pass”
}]
},

“background” : {
“Calvin & Hobbes”: “back001.jpg”,
“Destiny”: “back002.jpg”,
“Stormtrooper”: “back003.jpg”,
“Custom URL”: “URL”
},
“background_default”: {
“label”: “Calvin & Hobbes”,
“value”: “back001.jpg”
},

“coque”: {
“Sansumg S8”: “s8.png”,
“Iphone X”: “iphonex.png”,
“Brick Base”: “base.png”,
“Transparent”: “transparent.png”
},
“coque_default”: {
“label”: “Sansumg S8”,
“value”: “s8.png”
},

“serviceCall”: [
{
“display”: “Police”,
“icon”: “/html/static/img/icons_app/bank.png”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “police”
}
},
{
“title”: “Appeler le standard”,
“eventName”: “gcphone:autoCallNumber”,
“type”: {
“number”: “911”
}
}
]
},
{
“display”: “Ambulance”,
“backgroundColor”: “red”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “ambulance”
}
}
]
},
{
“display”: “Gouvernement”,
“backgroundColor”: “red”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “state”
}
}
]
},
{
“display”: “Army”,
“backgroundColor”: “red”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “army”
}
}
]
},
{
“display”: “FIB”,
“backgroundColor”: “red”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “fib”
}
}
]
},
{
“display”: “Juge”,
“backgroundColor”: “red”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “juge”
}
}
]
},
{
“display”: “Avocat”,
“backgroundColor”: “red”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “avocat”
}
}
]
},
{
“display”: “Agent de Securite”,
“backgroundColor”: “red”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “security”
}
}
]
},
{
“display”: “Espion”,
“backgroundColor”: “red”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “Espion”
}
}
]
},
{
“display”: “Tueur à gage contract oral baladins”,
“backgroundColor”: “red”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “baladins”
}
}
]
},
{
“display”: “Voiture Concessionaire”,
“backgroundColor”: “grey”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “cardealer”
}
}
]
},
{
“display”: “Helicoptere concessionaire”,
“backgroundColor”: “grey”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “aircraftdealer”
}
}
]
},
{
“display”: “Bateau concessionaire”,
“backgroundColor”: “grey”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “dock”
}
}
]
},
{
“display”: “Mecano”,
“backgroundColor”: “grey”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “mecano”
}
}
]
},
{
“display”: “Armurier”,
“backgroundColor”: “grey”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “armurier”
}
}
]
},
{
“display”: “Gang Cartel”,
“backgroundColor”: “grey”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “cartel”
}
}
]
},
{
“display”: “Gang Mafia”,
“backgroundColor”: “grey”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “mafia”
}
}
]
},
{
“display”: “Gang”,
“backgroundColor”: “grey”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “gang”
}
}
]
},
{
“display”: “Gang Biker”,
“backgroundColor”: “grey”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “biker”
}
}
]
},
{
“display”: “Eboueur”,
“backgroundColor”: “orange”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “eboueur”
}
}
]
},
{
“display”: “Taxi”,
“backgroundColor”: “orange”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “taxi”
}
}
]
},
{
“display”: “Bus”,
“backgroundColor”: “orange”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “bus”
}
}
]
},
{
“display”: “Journaliste”,
“backgroundColor”: “orange”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “reporter”
}
}
]
},
{
“display”: “Chauffeur pilote”,
“backgroundColor”: “orange”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “pilot”
}
}
]
},
{
“display”: “Chauffeur rally”,
“backgroundColor”: “orange”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “rally”
}
}
]
},
{
“display”: “Discotheque Bar Striptease”,
“backgroundColor”: “green”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “disco”
}
}
]
},
{
“display”: “Bahama Bar Deluxe”,
“backgroundColor”: “green”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “bahama”
}
}
]
},
{
“display”: “Cuisinier ambulant”,
“backgroundColor”: “green”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “foodtruck”
}
}
]
},
{
“display”: “vendeur de tabac”,
“backgroundColor”: “green”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “esx_addons_gcphone:call”,
“type”: {
“number”: “tabac”
}
}
]
},
{
“display”: “Agent Immobilier”,
“backgroundColor”: “green”,
“subMenu”: [
{
“title”: “Envoyer un message”,
“eventName”: “realestateagent”
}
]
}
],

“apps”: [
{
“name”: “Téléphone”,
“icons”: “/html/static/img/icons_app/call.png”,
“routeName”: “appels”,
“inHomePage”: true
},
{
“name”: “Messages”,
“icons”: “/html/static/img/icons_app/sms.png”,
“routeName”: “messages”,
“inHomePage”: true,
“puceRef”: “nbMessagesUnread”
},
{
“name”: “Contacts”,
“icons”: “/html/static/img/icons_app/contacts.png”,
“routeName”: “contacts”,
“inHomePage”: true
},
{
“name”: “Paramètres”,
“icons”: “/html/static/img/icons_app/settings.png”,
“routeName”: “parametre”,
“inHomePage”: true
},
{
“name”: “Bank”,
“icons”: “/html/static/img/icons_app/bank.png”,
“routeName”: “bank”,
“inHomePage”: false
},
{
“name”: “Bourse”,
“icons”: “/html/static/img/icons_app/bourse.png”,
“routeName”: “bourse”,
“enabled”: true
},
{
“name”: “Photo”,
“icons”: “/html/static/img/icons_app/photo.png”,
“routeName”: “photo”
},
{
“name”: “Dark Chat”,
“icons”: “/html/static/img/icons_app/tchat.png”,
“routeName”: “tchat”
},
{
“name”: “9GAG”,
“icons”: “/html/static/img/icons_app/9gag.png”,
“routeName”: “9gag”
}
]
}


#308

Phone is getting stuck in hand


#309

#310

Any solution to the phone stuck in hand?


#311

Nothing job gets messages help


#312

How to delete these all shit icons from phone? I only want mecano, ambulance , police , contacts, taxi and messages


#313

I need Some Help how to delet apps on the phone and rename apps?


#314

Look in the HTML File

Find the Apps that look like:

<div class="menu-icon menu-icon-police" data-app="contact-action-message" data-args="{&quot;name&quot;: &quot;Police&quot;, &quot;number&quot;: &quot;police&quot;}">
					<div class="menu-icon-inner">
						<i class="fa fa-shield fa-fw"></i>
					</div>
					<div class="menu-icon-label">LSPD</div>
				</div>

And just remove them from the index.html file.


#315

In client\main.lua

Hit control + F and search for phonemodel

Look for Local phonemodel = ('prop_blah blah)
If you remove that line, no more phone.
Sure you will put your hand up to your head with nothing, but you won’t have a phone stuck in your hand. I am looking for an animation that includes a phone to input in the function.

Citizen.CreateThread(function()
RequestAnimDict(‘cellphone@’)
while not HasAnimDictLoaded(‘cellphone@’) do
Citizen.Wait(0)
end

	TaskPlayAnim(playerPed, 'cellphone@', 'cellphone_call_listen_base', 1.0, -1, -1, 50, 0, false, false, false)

	RequestModel(phoneModel)
	while not HasModelLoaded(phoneModel) do
		Citizen.Wait(0)
	end