Config
Config = {}
Config.EnglishDaveCutscene = true -- if false will display only take off cutscene
Config.Standalone = false -- if true, will not use cash/money
Config.Debug = false -- if true, will display debug messages in console
-- Locales | Translations: line 117
Config.Locale = 'en' -- Locales [EN, PT, FR, GE, BR, ES]
-- Target settings
Config.Target = true -- target-eye | should be compatible with every, mainly ox_target
Config.TargetType = "ox_target" -- qbtarget | ox_target | qtarget
Config.TargetIconLS = "fas fa-plane" -- only if you use Config.Target
Config.TargetIconCayo = "fas fa-plane" -- only if you use Config.Target
-- Marker settings
Config.UseMarker = false -- marker | settings bellow
Config.MarkerLocations = { -- only if you use Config.UseMarker
['MarkerLS'] = {
coords = vector3(-1042.5692, -2746.2534, 21.3594),
typeflight = 1,
markers = {
spawn = {
key = 38, -- key to open the menu. Default E
type = 21, -- type of marker.
size = {x = 0.55, y = 0.55, z = 0.55}, -- size of marker.
color = {r = 255, g = 255, b = 255}, -- color of marker.
}
}
},
['MarkerCayo'] = {
coords = vector3(4494.4712, -4522.3369, 4.4124),
typeflight = 2,
markers = {
spawn = {
key = 38, -- key to open the menu. Default E
type = 21, -- type of marker.
size = {x = 0.55, y = 0.55, z = 0.55}, -- size of marker.
color = {r = 255, g = 255, b = 255}, -- color of marker.
}
}
},
}
-- Flight prices
Config.PriceLs = 1250 -- LS
Config.PriceCayo = 1250 -- Cayo
-- Circle Progress duration
Config.LsProgressDuration = 1300 -- In milliseconds -- LS
Config.CayoProgressDuration = 1300 -- In milliseconds -- Cayo
-- Animation that runs while buying the flight [In LS]
Config.LsBuyAnimationDict = 'missheistdockssetup1clipboard@base'
Config.LsBuyAnimationClip = 'base'
-- Animation that runs while buying the flight [In Cayo]
Config.CayoBuyAnimationDict = 'missheistdockssetup1clipboard@base'
Config.CayoBuyAnimationClip = 'base'
-- Animation prop settings
Config.LsBuyAnimationProp = `prop_notepad_01`
Config.LsBuyAnimationPropBone = 18905
Config.LsBuyAnimationPropPos = vec3(0.1, 0.02, 0.05)
Config.LsBuyAnimationPropRot = vec3(10.0, 0.0, 0.0)
Config.CayoBuyAnimationProp = `prop_notepad_01`
Config.CayoBuyAnimationPropBone = 18905
Config.CayoBuyAnimationPropPos = vec3(0.1, 0.02, 0.05)
Config.CayoBuyAnimationPropRot = vec3(10.0, 0.0, 0.0)
-- Landing Locations
Config.CayoLanding = vector3(4508.1987, -4507.5698, 4.1025) -- Cayo
Config.CayoLandingHeading = 16.8169 -- Cayo
Config.LsLanding = vector3(-1041.2560, -2744.3691, 21.3594) -- LS
Config.LsLandingHeading = 331.8300 -- LS
-- Buying Cooldown
Config.Cooldown = 2 -- In minutes
Config.Location2 = { -- NPC Location in LS
{ -1042.8541, -2746.7749, 20.3594, "", 324.8904, 0x864ED68E, "ig_pilot" } -- -1042.8541, -2746.7749, 21.3594, 324.8904
}
Config.Location = { -- NPC Location in Cayo
{ 4494.3442, -4523.2739, 2.8485, "", -94.5122, 0x864ED68E, "ig_pilot" } -- 4494.3442, -4523.2739, 4.8485, 94.5122
}
-- Blips
Config.Blips = true
Config.BlipLocation = { -- Blip Location and Settings
Blip2 = {
Pos = { x = -1042.8541, y = -2746.7749, z = 20.3594 },
Sprite = 307, -- https://docs.fivem.net/docs/game-references/blips/
Display = 4,
Scale = 0.8,
Colour = 38,
Label = "Los Santos Airport",
},
Blip = {
Pos = { x = 4494.3442, y = -4523.2739, z = 2.8485 },
Sprite = 307, -- https://docs.fivem.net/docs/game-references/blips/
Display = 4,
Scale = 0.8,
Colour = 52,
Label = "Cayo Perico Airport",
},
}
function SendTextMessage(msg)
lib.notify({
title = 'Airport',
description = msg,
type = 'error'
})
end
-- Locales
Config.buyticket = 'Buy Flight to Cayo Perico' -- only if you use Config.Target
Config.buyticketback = 'Buy Flight to Los Santos' -- only if you use Config.Target
Config.not_enough_money = 'You do not have enough money'
Config.markerlocale = '[E] Buy Flight'
Last updated
Was this helpful?