ποΈScript Setup
Requirements
- Ox Lib (Tested > v3.6.2) 
- Ox MySQL (Tested >= v2.7.2) 
Optional
- ABP NPCInteract (Script Setup) [Mission Start] 
- ScaleformLib (CritteRo | fivem-scaleform-lib) [UI Texts] 
- xSound or Sounity [Custom mission music] 
Installation
- Install requirements. 
- Drag & Drop ABP Missions into the resource folder. 
- ensure abp_missions 
- Setup your missions! 
- 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
Last updated
Was this helpful?