[FREE] NPWD (Standalone phone)

You’re using the correct resource. Are you sure you’ve entered the correct Client-ID in the *.cfg?

Some have made the mistake and added the Client-ID in the config.json file, which is wrong.

No plans on this yet, as we’re trying to be framework agnostic, but please create a github issue on it, and we’ll look into it.

I guess it’s the discord id in the cfg if that’s it if I already configured it and I get that error without putting the cfg another error comes out but for not putting the cfg I don’t touch anything else on the phone it’s how it goes down and sorry for the inconvenience

Yes!!!

Can i ask about why i need to OPEN GTA V SETTING or press ESC once to make NPWD Phone work?
Before i do that, the phone is not showing up

I apologize, I answered without seeing what you mean and if when I put in the cfg that error stopped coming out, my fault for not looking well at your answer, but now when I give the photo it stays in infinite load and does nothing after do the cfg, sorry for the other absurd answer xdd and thanks

Does it save the image in the database?

npwd_phone_gallery if it is not saving anything in the database, it may be that. How can I solve this problem and thanks for everything


I’m getting this error and the phone won’t come up. Then, if I restart the resource, it crashes fivem. This is a fresh download. I have not altered any code at all.

dont use this phone…

I don’t seem to see anyone in this thread who asked

do use this phone

Is there a way to disable all the internal mysql database stuff this resource uses, so you can just input the data via npwd:newPlayer({ }) it seems like if this was stand alone you could.

Just set the ‘useResourceIntegration’ to true, and then you’ll have to call the newPlayer export with the data you’d like to use. Are there any params that you feel are missing?

Looks good!

amazing work!

1 Like

I have having some issues with using NPWD with pe-core. Help would be much appreciated, thanks in advanced!



image



DATABASE
image

Server.cfg


config.json (NPWD)

your database credentials aren’t set correctly and your oxmysql hasn’t been installed correctly

How would I set my database credentials correctly, sorry I am new to databases.

The params are great, I was actually able to integrate this pretty easily with what I already have in my database, but I kept getting errors that made me feel like no matter what I did it wanted to use it’s own native database system so I plugged it in the best I could.

My server is setup to use a multichar system I wrote that works with our web portal, so if a person had 10 characters there would be 10 instances of the player identifier the script wanted to look for.

After I wrote this post I did find the option to ‘useResourceIntegration’ and was able to use a custom function to pull the data from our DB and so far there doesn’t seem any bugs, as everyone seems to have the correct phone number. (so apologies if I sounded displeased lol).

I really just wanted to make sure that we were avoiding any identifier/wrong character conflicts, and that the native phone number generator wasn’t going to override what our portal already did for numbers when players created a new character.

I do want to give thanks to you guys though for a wonderful resource, so far it has integrated and performed well beyond what we could have hoped.