You mean that, you can hear just phone or nearby players?
Thats problem of the language Lua…
Probably db problem.
[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
Summary
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”
}
]
}
Phone is getting stuck in hand
Any solution to the phone stuck in hand?
Nothing job gets messages help
How to delete these all shit icons from phone? I only want mecano, ambulance , police , contacts, taxi and messages
I need Some Help how to delet apps on the phone and rename apps?
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="{"name": "Police", "number": "police"}">
<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.
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
Hey,
When we start a phone call it stops the ingame voice and we cant hear each other and cant speak anymore. We dont understand why. Can anyone help us maybe?
InvokeNative: execution failed: Argument at index 1 was null.
Error running call reference function for resource esx_phone3: citizen:/scripting/lua/scheduler.lua:403: Execution of native 000000002f7a49e6 in script host failed.
stack traceback:
[C]: in upvalue ‘_in’
citizen:/scripting/lua/natives_server.lua:405: in function ‘TriggerClientEventInternal’
(…tail calls…)
server/main.lua:322: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:389: in function citizen:/scripting/lua/scheduler.lua:388
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:388: in function citizen:/scripting/lua/scheduler.lua:387
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:403: in function citizen:/scripting/lua/scheduler.lua:372
Error: Unhandled error: Error: BUFFER_SHORTAGE
Error: BUFFER_SHORTAGE
at n.e [as reserve] (citizen:/scripting/v8/msgpack.js:29:12766)
at h (citizen:/scripting/v8/msgpack.js:29:15761)
at n.r [as decode] (citizen:/scripting/v8/msgpack.js:29:13908)
at n.fetch (citizen:/scripting/v8/msgpack.js:29:6972)
at n.u [as read] (citizen:/scripting/v8/msgpack.js:29:12076)
at Object.n [as decode] (citizen:/scripting/v8/msgpack.js:29:7097)
at unpack (citizen:/scripting/v8/main.js:20:33)
at citizen:/scripting/v8/main.js:51:11
at setImmediate (mysql-async.js:4962:9)
at Object.callback (citizen:/scripting/v8/timer.js:56:6)
What going wrong?
Hi! @watsy I have a problem that when I call a job on the phone they are not receiving the message and the waypoint.
How can i add “blackbarry” as an item in database?
I don’t know how.
Please, heeeellpp!!!
Copy a current item in your database and just rename it blackberry in name and label section
Bug? phone is ringing even tho i dont have an phone in inventory. any fix?
Not a bug per se as it was never intended to be item dependent. To solve your issue simply and another check if the player has the item when receiving a call.
How?
Skickat från min Samsung Galaxy-smartphone.
-------- Originalmeddelande --------