Skip to main content

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
    • position vector3
    • heading number
    • questionMark? boolean
    • name? string

async Returns number

exports["resource_name"]:CreateOne(ctx)