project-error / npwd

NPWD is a FiveM phone resource written entirely in TypeScript and React.
https://projecterror.dev
Other
336 stars 277 forks source link

defaultContacts #1122

Open overload08 opened 5 months ago

overload08 commented 5 months ago

Hi !

Can you explain me how to use "defaultContacts" ? I want to replace esx_phone but no services are on the phone...

Thank's

itschip commented 5 months ago
"defaultContacts": [
  {
    "display": "SOme name",
    "number": "234-234"
  }
],

You can add it like this in the config.json file.

And if you wish to intercept calls or messages from the number, you can use the server-side exports.