Config File
```lua
lib.locale()
Config = {}
Config.CheckVersion = true
Config.Notify = 'ox' --esx, qb, ox, okok, wasabi_notify, custom
Config.EnableSuccessSales = true --If enabled it will set the Drug Sale rate
Config.SalesRate = 90 --The percentage drug will be successfully sale
Config.Police={
Job = 'police',
Required = true, --This will check if the police are online
MinimumPolice = 0, --This is the amount of police required to start drug sales
PoliceNotify = true, --If enabled police will be notified
PoliceCallChance = 90 --90% chance police will be alerted
}
--default qb
--ps for ps-dispatch
--aty for aty_disptach
--qs for qausar dispatch
--rcore for rcore dispatch
--custom for your own
Config.Dispatch = 'default'
Config.Props = {
cashprop = 'hei_prop_heist_cash_pile',
drugprop = 'prop_weed_bottle'
}
Config.Control = {
Key = 38, --E key
}
Config.Animation = {
Dict = 'mp_common',
Anim = 'givetake1_a'
}
Config.StartCommand = 'start-selling'
Config.StopCommand = 'stop-selling'
Config.BlackMoney = {
Enable = true,
itemname = 'markedbills' --For QBCore
}
Config.Logging = {
LogEnable = true, -- It will send logs.
--'discord' for discord webhook. Edit the Log.lua file to add the webook
--'fivemanage'
--'fivemerr'
LogType = 'discord'
}
Config.maxSpawnedPeds = 7 --Maximum Spawn Peds at a Time
Config.Drugslist = {
["meth"] = {
quantity = {min = 1, max = 3},
price = {min = 600, max = 1200},
},
["weed_og-kush"] = {
quantity = {min = 1, max = 3},
price = {min = 600, max = 1200},
},
["weed_skunk"] = {
quantity = {min = 1, max = 3},
price = {min = 600, max = 1200},
},
}
Config.SellingZonesEnable = false
Config.SellingZones = {
Grove = {
location = vector3(102.35, -1941.25, 20.8),
areaRadius = 50,
BlipInfo = {
label = "Grove Street Zone",
Sprite = 310,
Color = 47,
Scale = 0.7,
Display = 4
}
},
}
Config.Ped = {
"g_m_y_ballaeast_01",
"g_m_y_famca_01",
"g_m_y_mexgoon_02",
"g_f_y_ballas_01",
}
```
Last updated