[Release] ESX-ALphone (call system)

from a quick glance i’m guessing this RegisterNetEvent('esx_phone:incomingCall') and this RegisterNetEvent('esx_phone:onMessage')

Okey what shulde i put there?

Skickat från min Samsung Galaxy-smartphone.

-------- Originalmeddelande --------

The same callback you used when you toggle the phone.

any plans to have a remove contact from phone in this? like add-contact / remove-contact.???

How to add it to database and how can i get the phone?

blackberry.sql (138 Bytes)

Here if you want a auto import to your database

How did you get the voice working?

How did you get voice working?

Everything on the phone works fine, until i try to add a contact. Anyone know what causes this?
InvokeNative: execution failed: Argument at index 1 was null.
Error running call reference function for resource esx_phone3: citizen:/scriptin
g/lua/scheduler.lua:403: Execution of native 000000002f7a49e6 in script host fai
led.
stack traceback:
[C]: in upvalue ‘_in’
citizen:/scripting/lua/natives_server.lua:405: in function ‘TriggerClien
tEventInternal’
(…tail calls…)
server/main.lua:322: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:389: in function <citizen:/scriptin
g/lua/scheduler.lua:388>
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:388: in function <citizen:/scriptin
g/lua/scheduler.lua:387>
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:403: in function <citizen:/scriptin
g/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)

it bugged script do not use this

So everything apart from dispatches and phone calls works but we don’t get any dispatches at all like none unfortunetly :frowning:

I do not keep the calls going, could you help me? :frowning:

It’s not working would you please tell us how to fix this i did same as you said but it’s not working.
I added blackberry to the db, i changed the name for the script to esx_phone3 and it still doing the same thing, it just don’t save the phone numbers and it show a lot of functions that i don’t have such as deepweep, EMS, Police, car dealer etc

I did same as you are saying but nothing really is going on, i would just ask you a question, why would you even make a script if you not gone support or try fix the issues with it. Like support or fix the script or just remove it.
I did everything right and it’s not working, so give us a discord we can get help from or come and support your script.

Hej man i’m using your amazing script and it’s working like a charm, would you be able to help me with this issue, i’m trying to add icons to this instant of having it like this
image

i have problem with esx_phone3… it shows #0 as an phone number in the contacks :confused:

this is my server.cfg and i think my problem is the start order but i dont know where it should start

DEFAULTS, NO TOUCHING

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start baseevents

ESSENTIAL MODS, NO TOUCHING

start mysql-async
start essentialmode
start es_ui
start esplugin_mysql
start es_admin2
start es_extended
start async
start NativeUi

ESX REQUIRED MODS, NO TOUCHING

start instance
start cron
start ELS
start skinchanger
start esx_skin
start esx_menu_default
start esx_menu_dialog
start esx_menu_list
start esx_addonaccount
start esx_addoninventory
start esx_datastore
start esx_society
start esx_service
start esx_billing
start jsfour-register
start esx_license

ESX JOBS, ONLY JOBS

  start esx_jobs
  start esx_joblisting
  start esx_phone3      <--- here it is
  start esx_mecanojob
  start esx_policejob
  start esx_property
  start esx_ambulancejob
  start esx_vehicleshop
  start esx_mafiajob
1 Like

Same issue as post above me

start esx_phone
start esx_phone3
start esx_blackberry

2 Likes

oh thanks bro :kissing_heart::joy:

Did you correctly added the sql file?