[FREE] NPWD (Standalone phone)

Amazing

Hello, I followed your tutorial and I have installed the latest version (1.3) but the error always come back

Thanks your script is very good

1 Like

Here’s a small FAQ for anyone having issues:

error: no such export isPhoneVisible

You downloaded the source code and didn’t build. :slight_smile:

Please download from the release tab here: https://github.com/project-error/npwd/releases and be sure you download the npwd.zip as this is the built version.

If you want to modify the source code please see the documentation for building here: https://projecterror.dev/docs/npwd/dev/dev_bootstrap/

error: no such export: newPlayer in resource npwd

This export is only available when the useResourceIntegration is set to true. See here: https://github.com/project-error/npwd/blob/fc2a905f0fd85db797b716053b8f0d4398b8bd61/config.json#L8

How do I open the phone?

By default, the phone opens with F1. You can adjust it within the Config.json file.

I get the following error: No such export: newPlayer in resource npwd

This export is only available when the useResourceIntegration is set to true. See here: https://github.com/project-error/npwd/blob/fc2a905f0fd85db797b716053b8f0d4398b8bd61/config.json#L8

I get the following error: Error: Event playerJoining was not safe for net.

You need to update your artifacts to the a version beyond 3622. Don’t know your artifact version? Type version into your console.

The following link will take you to the latest version: https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/?

6 Likes

Hello! Amazing resource!

Can i get some help with this?

[ script:esx-npwd] SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:855: An error occurred while calling export newPlayer of resource npwd (table: 0x7f61990115a0), see above for details
[ script:esx-npwd] > handler (@esx-npwd/server.lua:13)
[ script:esx-npwd] > processTicksAndRejections (node:internal/process/task_queues:96)

[ script:npwd] [NPWD] [events] [silly]: netPromise > npwd:beginCall > RequestObj
[ script:npwd] [NPWD] [events] [silly]: { source: 1, data: { receiverNumber: ‘999’ } }
[ script:npwd] [NPWD] [events] [silly]: Response Promise Event npwd:beginCall:757750df-e215-4127-b9a9-9fbe3f8b5d89 (3.534455ms), Data >>
[ script:npwd] [NPWD] [events] [silly]: { status: ‘error’, errorMsg: ‘SERVER_ERROR’ }
[ script:npwd] [NPWD] [calls] [error]: Error occured handling init call: Cannot read properties of null (reading ‘getPhoneNumber’)
[ script:npwd] [NPWD] [player] [debug]: 1 failed to unload, likely was never loaded in the first place.

Thanks in advance!

Two thing to suggest make it configurable to use this phone as item so only allow F1 button if you have the phone item. Second be able to configure the language without rebuild the whole thing.

  1. There are docs for that.
  2. You can just change the language ingame unless you mean the default language.

Please read the message above you.

  1. Already a thing within the Config.jsonz Follow the docs for it as Bombay stated.

  2. Already a thing. You can change the language within the phone’s setting app. This is already stated within the thread so I guess you missed it.?

Do you have the frameworkIntegration set to true?

Hello help plz


Everytime i try and start the script i get this error. any help would be appriciated

I’m not a professional dev in FiveM. Do have someone already an export for es_extended?

“PhoneAsItem”: {
“enabled”: false,
“exportResource”: “es_extended”,
“exportFunction”: “ESX.getSharedObject().GetPlayerFromId(source).getInventoryItem(‘phone’)”

That’s not working… I don’t know how to set it up.

1 Like

I can write some quick docs on some of it.

You altered the Config.json most likely and broke something. Best to re-download the phone or restore your json to its original version.

1 Like

Is it possible to implement Salty-Chat?

1 Like

I’m getting these error Error: Unhandled promise failure: Error: Access denied for user **
and i don’t get phone_number thanks for help

This is awesome! I was waiting for this so long… Im impatient for trying it! The matchmaker app and the calculator… Like :exploding_head:. I love it

1 Like

We’re sorry! Account sign-up is not possible in your region.
Bloody imgur does not allow me to register lol