CreateOne
Creates a dialogue NPC.
You do not have to use this ped creator to use the dialogues. If you have your custom Ped system set up with an interactions, you can simply use the Dialog export functions.
- ctx:
table (PedCreateConstructor)
- dialogueID
string
- dialogueID
- position
vector3
- position
- heading
number
- heading
- questionMark?
boolean
- questionMark?
- name?
string
- name?
async Returns number
exports["resource_name"]:CreateOne(ctx)