📃Configs
Config = {}
Config.AutoDatabase = true -- If true, the script gona install the database automatic
Config.Framework = {
type = "QBCore", -- "QBCore" or "ESX"
core_name = "qb-core", -- If you use esx ignore this line
notify = "lation_ui", -- "ox_lib" or "lation_ui" (open code on c_utils.lua)
display = "lation_ui", -- "ox_lib" or "lation_ui" (open code on c_utils.lua)
}
Config.NotifyEnterLeave = true -- If true the player receive a notify when enter/exit zones
Config.DistanceMin = 50.0 -- Distance min of each zones
Config.BlipsAvailable = { -- https://docs.fivem.net/docs/game-references/blips/
{ value = 469, label = "Weed" },
{ value = 362, label = "Mask" },
{ value = 378, label = "Skulls" },
{ value = 436, label = "Fire" },
}
Config.ColoursAvailable = { -- https://docs.fivem.net/docs/game-references/blips/#blip-colors
{ value = 1, label = "Red" },
{ value = 2, label = "Green" },
{ value = 3, label = "Blue" },
{ value = 4, label = "White" },
{ value = 5, label = "Yellow" },
{ value = 7, label = "Violet" },
}
Config.DrugsAvailable = { -- This is the options to show on menu when you create a zone
"weed-bad-ql",
"weed-med-ql",
"weed-max-ql",
"coke-bad-ql",
"coke-med-ql",
"coke-max-ql",
"meth-bad-ql",
"meth-med-ql",
"meth-max-ql",
}
Config.Phrases = { -- TRhis is the random phrases the npcs talk to you
"Hey brother, I want %dx %s for %d!",
"Yo, want to sell me %dx %s for %d?",
"I need %dx %s, I'll pay you %d for it.",
"This is the last batch I need: %dx %s. %d, take it or leave it!"
}
Config.Commands = {
["drugsell_creator"] = { description = "Open the drug selling creator", restricted = true },
["drugsell_ranking"] = { description = "Show the gang drug ranking", restricted = false },
["drugsell_gang"] = { description = "Check your gang statistc", restricted = false },
["drugsell_missions"] = { description = "Open the personal progress missions", restricted = false },
}
Config.Levels = {
[1] = 0, -- Level 1 requires 0 XP
[2] = 1000, -- Level 2 requires 1000 XP
[3] = 3000, -- Level 3 requires 3000 XP
[4] = 6000, -- Level 4 requires 6000 XP
[5] = 10000, -- Level 5 requires 10000 XP
}
Config.LevelsBoost = {
[1] = 1.0, -- Level 1: 100%
[2] = 1.2, -- Level 2: 120%
[3] = 1.5, -- Level 3: 150%
[4] = 1.8, -- Level 4: 180%
[5] = 2.0, -- Level 5: 200%
}
Config.Experience = { min = 1, max = 5 } -- Experience gang won on each sell
Last updated