📃Configs

Config = {}

Config.Framework = "QBCore" -- "QBCore" or "ESX"
Config.Core = "qb-core" -- Your qb-core folder name
Config.Target = "qb" -- "qb" or "ox"
Config.FuelSystem = "LegacyFuel" -- "LegacyFuel" or "okokFuel" or "ox_fuel" or "ti_fuel" or "qs-fuel" ( open code on config_functions.lua )
Config.Notify = "ox_lib" -- "standalone", "qb", "ox", "okok", codem ( open code on config_functions.lua )
Config.Vehiclekeys = "qb" -- "qb", "qs", "renewed", "jaksam" ( open code on config_functions.lua )
Config.Inventory = "newqb" -- "oldqb" or "newqb" or "ox" or "qs" or "tgiann" or "codem" ( open code on s_utils.lua )
Config.AutoDatabase = true -- If true the script will create the database automatic

-- Settings
Config.AirplaneLocations = {
    [1] = {
        zoneName = "Sandy Shores Airfield", -- Name of the zone
        jobNeed = "police", -- Job needed to access the zone
        blipSettings = { 
            enable = true, -- Enable or disable the blip
            blipCoords = vector3(2121.03, 4783.31, 40.97), -- Coordinates of the blip
            blipSprite = 307, -- Blip sprite (https://docs.fivem.net/docs/game-references/blips/)
            blipColor = 3, -- Blip color (https://docs.fivem.net/docs/game-references/blips/)
            blipScale = 0.8, -- Scale of the blip
            blipName = "Sandy Shores Airfield", -- Name of the blip
        },
        licenses = { -- List of licenses can be given to the player
            ["commercial"] = true,
            ["private"] = true,
        },
        pedSettings = {
            pedSpawn = vector4(2121.03, 4783.31, 40.97, 300.5), -- Ped spawn location ( Only people with job can access it )
            pedModel = "s_m_m_pilot_02", -- Ped model ( https://docs.fivem.net/docs/game-references/ped-models/)
            pedAnimation = "WORLD_HUMAN_CLIPBOARD", -- Ped animation ( https://wiki.rage.mp/wiki/Scenarios )
        },
        strashSettings = {
            name = "Sandy_Airplane_Stash", -- Name of the stash
            weight = 10000, -- Max weight of the stash
            slots = 25, -- Max slots of the stash
        },
        airplaneSpawn = { -- List of possible spawn points
            vector4(2124.32, 4807.34, 41.2, 116.37)
        },
        airplaneReturn = vector3(2124.32, 4807.34, 41.2), -- Return point of the airplane
        airplanesAvailable = { -- List of available airplanes
            [1] = {
                model = "besra", -- Model of the airplane ( https://wiki.rage.mp/wiki/Vehicles )
                label = "Besra", -- Label of the airplane
                type = "commercial", -- Type of the airplane (commercial or private)
            },
            [2] = {
                model = "mammatus",
                label = "Mammatus",
                type = "private",
            },
            [3] = {
                model = "dodo",
                label = "Dodo",
                type = "private",
            },
            [4] = {
                model = "duster",
                label = "Duster",
                type = "private",
            },
            [5] = {
                model = "stunt",
                label = "Stunt",
                type = "private",
            },
        },
        missionsEnable = true, -- Enable or disable the missions
        missionsLocations = {
            [1] = {
                locationName = "Travel to Los Santos Airport", -- Name of the location
                location = vector3(-1064.5, -2929.47, 13.95), -- Location where player go interact to leave the passengers in Los Santos
                locationReward = { min = 1000, max = 2000 }, -- Reward for the mission
                locationPlane = "dodo", -- Model of the airplane
            },
            [2] = {
                locationName = "Travel to Paleto Bay", -- Name of the location
                location = vector3(-476.44, 5989.1, 31.34), -- Location where player go interact to leave the passengers in Sandy Shores
                locationReward = { min = 1000, max = 2000 }, -- Reward for the mission
                locationPlane = "supervolito", -- Model of the airplane ( We recommend helicopter becuase dont have any air strip in Paleto Bay )
            },
        }
    }
}

Last updated