TalktoNPC by DennyScripts

Dependencies:

  • ox_lib

  • ox_target

  • es_extended

Features:

  • Add NPC models to open conversation dialogs

  • Add submenus to create a conversation string

  • Add random answers from the NPCs

  • Create waypoints for a answer

  • Sell items to NPCs

  • Buy items from NPCs

  • Set a waypoint mission and deliver something to another NPC

  • You can add an endless amount of submenus to make unique conversations strings

  • You can disable dialog options after clicking for this unique ped, other peds won't be affected!

Introducing an innovative dialogue system designed specifically for ESX role-play servers, this system revolutionizes NPC interactions, offering unparalleled customization and depth. With our system, you can effortlessly incorporate NPC models to initiate engaging conversation dialogs, and expand these interactions through intricate submenu chains for dynamic conversation strings. NPCs can provide varied responses, adding a layer of unpredictability and realism to each encounter.

Not only does this system allow for complex dialogue sequences, but it also integrates practical functionalities such as waypoint creation for specific responses, and the ability to conduct transactions with NPCs, including both buying and selling items. Moreover, you have the capability to assign mission waypoints, challenging players to deliver items to other NPCs, thus enriching the gameplay experience.

A standout feature is the endless customization options. Tailor unique conversation strings with an unlimited number of submenus, ensuring no two interactions are the same. Furthermore, dialog options can be temporarily disabled after selection, affecting only the interacted NPC and preserving the uniqueness of each encounter.

Crafted with flexibility in mind, our config.lua is meticulously designed to support an infinite array of sub-dialogs. Whether setting up a mission, engaging in trade, marking waypoints, or simply offering hints about intriguing locations, every dialog option can trigger custom events, opening up endless possibilities for creating personalized tasks and narratives.

This advanced dialog system is not just an addition to your ESX role-play server; it's a comprehensive tool that elevates NPC interaction to new heights, offering players a deeply immersive and customizable experience.

Last updated