[Tutorial] - GCPhone - Adding calls and job messages

Help Please

Dude… Provide more info. You have been here 6 months so you should know that by now.

[Request]
Hello dude! Im so much in love with this script <3

I was wondering if you in anyway couldt convert this script to vRP ??
Would be so awesome!
Btw GREAT WORK!
:slight_smile:

Hi,
Instead of using a simple color you can add an image.

Add image in /html/static/img/icons_app/

And edit html/static/config/config.json like this

Example :

	"serviceCall": [
		{
			"display": "Agent immobilier",
			"backgroundColor": "pink",
			"subMenu": [
				{
					"title": "Envoyer un message",
					"eventName": "esx_addons_gcphone:call",
					"type": {
						"number": "realestateagent"
					}
				},

Replace by :

	"serviceCall": [
		{
			"display": "Agent immobilier",
			"icon": "/html/static/img/icons_app/bank.png",
			"subMenu": [
				{
					"title": "Envoyer un message",
					"eventName": "esx_addons_gcphone:call",
					"type": {
						"number": "realestateagent"
					}
				},

Hi,
You have tested this : https://github.com/HalCroves/gcphone/wiki/Gcphone-in-item ?

I do not know if it works, I did not try: D

Hello,
Unfortunately I would not convert this addon for VRP. If a charitable soul can do it, it would be perfect :slight_smile:

It does not work with ESX

Any errors, screenshots, logs ?

My crystal ball is struggling to connect to your server :thinking:

Error resuming coroutine: client/client.lua attemp to index a nil value (global 'ESX) client/client.lua in function <client/client.lua>

Add on top of your client/main.lua :


ESX              = nil

Citizen.CreateThread(function()
	while ESX == nil do
		TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
		Citizen.Wait(0)
	end
end)

Like this : https://github.com/HalCroves/gcphone/wiki/Gcphone-in-item (Wiki updated)

i didnt use this guide, i write it on my own, but i have phone on item working perfectly.

Ok, work in which file to change the language to another, for example New message on EN?

Salut, j’ai un problème avec gcphone

j’utilise la version pour mysql_async 3.0.8
Je comprend pas d’ou viens le problème, j’ai suivi toute les étapes

Le téléphone ne s’ouvre pas quand j’appuie sur la touche

mais j’ai une erreur voilà :

how do i get Press E to take call and then i get a destination on the gps ?

In english please, if you want help :wink:

Hi,
You have an error in your client.lua :

You can update this files for change traduction : gcphone/html/static/config/config.json

With vdk_call maybe ?

Yes i see, but i don’t know why, because i don’t modify client.lua

Send this files :wink: