Connection to NPCTALK

The following example is from a script vms_npctalk

Config.Peds = {
    {
        pedModel = 'g_m_y_mexgoon_01',
        pedPosition = vector3(343.32, -2046.2, 20.45),
        pedHeading = 56.87,
        title = 'BOSS',
        name = 'VAGOS',
        dialog = 'What do you want to do for me?',
        textUI = "MISSION",
        closeText = "I have no time.",
        camOffset = vector3(0.0, 0.0, 0.0),
        camRotation = vector3(0.0, 0.0, 0.0),
        distance = 2.2,
        jobsAccess = {'ballas'},
        animation = {
            dictionary = "anim@amb@nightclub@peds@",
            name = "rcmme_amanda1_stand_loop_cop",
        },
        options = {
            {
                Label = "Murder",
                TriggerClient = 'vms_crimemissions:start',
                TriggerArgs = 1
            },
            {
                Label = "Kidnap",
                TriggerClient = 'vms_crimemissions:start',
                TriggerArgs = 2
            },
            {
                Label = "Steal Drug Truck",
                TriggerClient = 'vms_crimemissions:start',
                TriggerArgs = 3
            },
            {
                Label = "Car Stealing",
                TriggerClient = 'vms_crimemissions:start',
                TriggerArgs = 4
            },
            {
                Label = "Money Extortion",
                TriggerClient = 'vms_crimemissions:start',
                TriggerArgs = 5
            },
        },
    },
}

Last updated