Accessible Code

Shared = {
    Locale = 'en',

    Notify = {
        duration = 5000, -- miliseconds
        position = 'top-right' -- 'top' or 'top-right' or 'top-left' or 'bottom' or 'bottom-right' or 'bottom-left' or 'center-right' or 'center-left'
    },
    
    TextUI = {
        position = 'right-center' -- 'right-center' or 'left-center' or 'top-center' or 'bottom-center'
    },

    Logs = {
        enabled = true,
        webhook = '',
        servername = 'Uniq Scripts',
        color = 6579450,
        icon_url = 'https://dunb17ur4ymx4.cloudfront.net/webstore/logos/046c8efd198a2806b6ae46490f6aa780a225125e.png'
    },

    Ped = {
        model = 's_m_m_pilot_01', -- https://docs.fivem.net/docs/game-references/ped-models/
        coords = vector4(-941.3702, -2954.7119, 13.9451, 150.4045)
    },

    PlaneSpawn = {coords = vector3(-972.8835, -2999.367, 14.53625), heading = 62.36221}, -- where the plane will be spawned

    Level1Reward = 5000, -- amount of cash that will level 1 players receive after route completed, you can do math.random for random reward
    Level2Reward = 10000, -- amount of money that will level 2 players receive after route completed, you can do math.random(1000, 5000), player will receive between 1000$ and 5000$

    LegalRoute = {
        VehicleModel = "Shamal", -- plane model
        CheckPoint = vector3(1735.767, 3294.646, 40.76562) -- checkpoint for boarding passengers
    },

    IllegalRoute = {
        VehicleModel = "Vestra", -- plane model
        CheckPoint = vector3(2135.486, 4780.932, 40.14209) -- checkpoint for loading illegal goods
    },

    PoliceJobs = { -- of PoliceNotify is true then this is required
        ['police'] = true
    },
    PoliceNotify = true, -- notify police about illegal routes

    Blips = { -- https://docs.fivem.net/docs/game-references/blips/
        MainBlip = {
            Label = "Pilot Job",
            ID = 16,
            Scale = 0.9,
            Colour = 3
        },
        LegalCheckPoint = {
            Label = "Passengers",
            ID = 366,
            Scale = 0.7,
            Colour = 0
        },
        LegalCheckPoint2 = {
            Label = "Los Santos Airport",
            ID = 307,
            Scale = 0.7,
            Colour = 0
        },
        IllegalCheckPoint = {
            Label = "Illegal Goods",
            ID = 501,
            Scale = 0.7,
            Colour = 0
        }
    }
}

-- Framework
-- Pre-setuped for your framework

Last updated