[ESX/QB/Standalone] NPC Creator w. dialogs and animations

Hello world!

This is my first release, (but not the last lol.)

I decided to make a small script that will allow you thanks to the configuration file to generate NPCs at specific coordinates, these NPCs can make an animation and you can make sure that this NPC in question can chat with you (just a sentence when the E key is pressed)

If you have any question or issue, feel free to write under the post or send me a private message.

[Config.lua preview]

** AUGUST UPDATE **

  • Added ‘animated’ option in config for enable or disable animation of NPC.
  • ESX/QBCore/Standalone compatible

** 09/06/22 BUG FIX **

  • Script need to be restarted for init npcs dialogs function *** FIXED *** (reported by ** LightUpFam**)

npcs_creator.zip (2.7 KB)

Enjoy it !

If anyone know how to show how many people clicked on link please type it in comment :slight_smile:

7 Likes

Easy to understand and work really well

Good launch but sometimes it bugs when putting new Npcs with dialogues, the “press e” does not appear

1 Like

any way to make the peds move around, like go to point A, B, C, and then return back to A

1 Like

Qb version?

1 Like

I’ll work on it ! Thanks for idea

2 Likes

Released !

please let me know if this becomes an option!

I have been trying for a long time, to have a synced NPC patrol script for “guards” to walk around secured areas - not hostile for certain jobs. lol.

1 Like

i like it, easy to use.

i noticed sometimes the NPCs dont give the dialog option.
on 2 server resets I had to restart the NPC script to get the option to show up.
maybe a simple fix?


I absolutely love how easy and lightweight the script is.
it only works when i restart the resource tho.

for example:
restart server, go to NPC.
NPC will be there but the “press E to talk” doesn’t show up.
restart resource/script once or twice
NPC now gives option to talk. and works fine.
walk away and come back , it does same thing again.

1 Like

Thank you for your bug report, it has been fixed for that release !

Hello, do you know if it is possible to be able to insert a second sentence, if you have any questions?

Ex: You are looking for a job = possibility of saying yes or no = if the answer is yes then he tells you to go to such a place = if equals no then he says goodbye

Thank you.

Hi,

I enjoyed this plugin but needed more.
So I used it as a base for a plugin I’m developing.

I created a new UI and I added options.

PS: I m new in this world. But thx for your help.