[Release] ESX-ALphone (call system)


#324

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.


#325

How?

Skickat från min Samsung Galaxy-smartphone.

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


#326

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


#327

Okey what shulde i put there?

Skickat från min Samsung Galaxy-smartphone.

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


#328

The same callback you used when you toggle the phone.


#329

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


#330

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


#332

blackberry.sql (138 Bytes)

Here if you want a auto import to your database


#333

How did you get the voice working?


#334

How did you get voice working?


#335

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)


#336

it bugged script do not use this


#337

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


#338

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


#339

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


#340

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.


#341

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


#343

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 rconlog
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

#344

Same issue as post above me


#345

start esx_phone
start esx_phone3
start esx_blackberry