[Tutorial] - GCPhone - Adding calls and job messages

I see again, so I do not have the phone that shows the key is good F1

Look in client.lua :

local KeyOpenClose = 288 -- F2

289 is F2 no ? 288 F1

2 Likes

Maybe fail my comment :face_with_hand_over_mouth:

288 INPUT_REPLAY_START_STOP_RECORDING F1
289 INPUT_REPLAY_START_STOP_RECORDING_SECONDARY F2

I empty the cache and start again

I see again, so I always have the whitescreen with this time if the error has 1074 still read 0 undefined thanks to you we can better search the error because your vendor.js is super tidy cons there is in vendor .js an error somewhere I copied pasted https://github.com/HalCroves/gcphone/blob/4f8182cbdf0305972f5c8673e0928df86d3cdd9b/gcphone/html/static/js/vendor.js

line 1074 :

function it(t, e, n) {
if (!ki && !Ai || “undefined” == typeof console) throw t;
console.error(t)
}

Humm, yep. test with this vendor.js : https://github.com/HalCroves/gcphone/blob/master/gcphone/html/static/js/vendor.js

And after :

In your ftp, delete the folder “cache”
image

always the same

when I leave and restart no whitescreen but when I have a new message whitescreen

Hum…

  • Do you have other phone on your server ?
  • server esx?

Step by step :

  • When the download is terminated, extract the folder in your desktop
    image
  • Like this :
    image
  • Now upload the folders gcphone and esx_addons_gcphone in your ftp browsers.
  • Into your resources folder.
  • Go in your server.cfg, and add the start addons (this is an exemple, but you absolutely must start gcphone and esx_addons_gcphone before jobs addons :
# These are the core FiveM resources
start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
start playernames
start baseevents

## START ESX ADD ##
start mysql-async
start essentialmode
set mysql_debug false
start esplugin_mysql
start es_admin2
start async
start es_extended
start esx_menu_default
start esx_menu_list
start esx_menu_dialog

## START GCPHONE & HER ADDONS ##
start vdk_call                    ------------------ (just download https://github.com/vodkhard/vdk_call )
start esx_addons_gcphone
start gcphone

## START JOBS AND OTHER ##
start esx_ambulance
start esx_policejob
start esx_.....
  • Clear cache of your server
    image
  • Start or restart your server

Il will check my github… but it seems weird

always the same worries whitescreen when when I receive a new message

You did not answer my questions …

  • Do you have other phone on your server ?
  • Server ESX or VRP ?
  • Do you have import sql files ?

I do not understand that for some people, the gcphone does not work …

I had esx_phone before and I am in esx and in the base sql I phone_app_chat calls messages users contacts

If you have other phone addon, disable her. I can not test myself, I’m at work :sweat_smile:

I use this https://github.com/BTNGaming/gcphone_esxfix and downloaded the addonfolder from the original topic. worked out of the box no need to modify or add anything if you just wanted a vanilla phone. Clear cache and start it before the jobs. Hope it helps

i removed esx_phone in the server it was the same whitescreen in the messages and i downloaded gcphone_esxfix recreates a healthy database always whitescreen with the cache emptied

I wonder if these esx_menu_default / dialog / list and esx_extended that need this bug would you be able to have your UI and esx_extended?

To reassure me, I just tried my version, and it is functional. On my github, i added the necessary addons.
You can look the readme file, maybe help you :confused:

=> https://github.com/HalCroves/gcphone

thanks for the help you bring me I would test on my local server, I gave esx_phone on the main server the messages do not bug lol while disable gcphone and addons esx_addon_gcphone and vdk_calls

Thinking about converting this to vRP. Just wondering if anybody else is on that job, or thought about it already?

Hi,

The basic phone was developed for VRP and then migrated to ESX. (if I do not say nonsense)

But to my knowledge, there is no longer an updated version of VRP.