[HELP] ESX_Phone / ESX_AlPhone / gcphone -- No Number created

Hey, my aim is to add a phone to my server with the ESX Framework. But none of the in title mentioned worked… I have the same problem with all three. The Script dont create a number (I think that this is the problem). Please help. :frowning:

maybe good infos to know:

  • i use a debian 9 server with mysql.
  • i use esx_kashacters
  • i think i have all tables and columns created, which these phones need.
    If you need any information from me ask pls

Thanks for help already <3

Have you tried printing it? I think esx_phone creates a phone number when there is none found in the database (on identifier).

Hey Baxx! I had the very same problem and I listened you and gave esx_phone a start on config. So as you said it gave me number hurray! What I want to ask is can I edit code of gcphone and make it working like esx_phone. I don’t know if using 2 phones at the same time will cause any bug so :smiley: I removed esx_phones toggle button to a button noone can find. Thanks in advance…

I’ll have a look at my copy of GCPhone and see what I did to get mine working, or if I did anything at all…

Get back to you after nap nap.
Can’t remember and it’s sleep time. :sweat_smile: :sleeping:

If you would still like to get gcphone working, please DM me with;

Your server.cfg > just the resource list load order.

Your esx_kashacters server.lua > just where you listed your tables.

Your gcphone server.lua > the whole file please.

I know I changed mine to have the number configured to my country. But I’m certain I didn’t do much else too it.
I’d like to identify what you have all done and if there the same thing or not.

Make a query for the number collumn into your database

Pozn%C3%A1mka%202019-08-08%20014534

Can you help me with this?

1 Like

I have the same problem

I had the same problem, I managed to generate a number this way, delete in the users table in your database the “phone_number” and add it to your databasebase.sql (2.9 KB)

Can you elaborate? pls

Hey can you help me with the gcphone not generating the number?

So the only thing I have to do to delete the already existing “phone_number” coloumn and then insert it again and it will generate the numbers? When will it generate? As soon as the players joins?

Same problem here, have you found any solution?

same here no value in phone_number in users table and tried to export some fuctions from esx_phone but it dosent work too