๐Ÿ—๏ธScript Setup

Requirements

  • Ox Lib (Tested > v3.6.2)

  • Ox MySQL (Tested >= v2.7.2)

Optional

Installation

  1. Install requirements.

  2. Drag & Drop ABP Missions into the resource folder.

  3. ensure abp_missions

  4. Setup your missions!

  5. Enjoy!

(optional) ABP NPCInteraction

Add this npc to the configuration:

    {
        model = "ig_abigail",
        name = "Ana | ~y~Boss",
        position = vec3(-422.259, 1195.0419, 324.64175),
        heading = 332.41,
        distanceCheck = 10,

        options = {
            freeze = true,
            invincible = true,
            blockTemporaryEvents = true
        },

        pedOptions = function(ped)
            SetPedDiesWhenInjured(ped, false)
            SetPedCanPlayAmbientAnims(ped, true)
            SetPedCanRagdollFromPlayerImpact(ped, false)
        end,

        onInteract = function(pedHandler)
            exports.abp_missions:RemoteStartMission("test_mission", nil, GetPlayerServerId(PlayerId()))
        end,
    },
    {
        model = "ig_abigail",
        name = "Ana | ~y~Boss",
        position = vector3(903.14971, -172.9417, 74.075653),
        heading = 241.24,
        distanceCheck = 10,

        options = {
            freeze = true,
            invincible = true,
            blockTemporaryEvents = true
        },

        pedOptions = function(ped)
            SetPedDiesWhenInjured(ped, false)
            SetPedCanPlayAmbientAnims(ped, true)
            SetPedCanRagdollFromPlayerImpact(ped, false)
        end,

        onInteract = function(pedHandler)
            exports.abp_missions:RemoteStartMission("taxi_01", nil, GetPlayerServerId(PlayerId()))
        end,
    }

Support

https://discord.gg/NQFSD6t9hQ

Last updated

Was this helpful?