Interface for communicating with NPCs
To install this script, just install it in the resources folder of your server and register it in your config file.
James has static answers:
Bill has dynamic answers. He remembers who he gave cars to:
conversation params:
text- Text that the NPC saysanswers- List of answersaction- onRpc event name. Use this if you need a dynamic response.
answer params:
text- Answer option textgoto- conversation id. Use this if you have static conversation logicaction- onRpc event name. Use this if you need a dynamic response.
action - action is the onRpc event that you must add on the server
Note
If you use action in conversation/answer then you don't need to use answers/goto
If you want to support me, just give me a coffee ☕️


