Config file
Config = {
Framework = "esx", -- "esx" or "qb"
Identifier = "discord", -- Identifier for the database (discord / steam / license <- recommended | not recommended -> xbl / live / fivem / ip)
MenuCommand = "addictions",
MenuKey = "F7",
UseMenuKey = true,
TickTime = 10, -- Seconds (Less than 5 seconds is not recommended!)
EffectCooldown = 30, -- Seconds
Admins = {
"discord:397032581326962689", -- Add your steam hex here
},
Addictions = {
["alcohol"] = {
title = "Alcohol", -- Title of the addiction
addictionDangerLimit = 60, -- If the addiction is above this value, danger text will be shown
needDangerLimit = 50, -- If the need is above this value, danger text will be shown
effectType = 3, -- 1, 2, 3 (this will be played if players addiction is above the limit)
onTick = {
addiction = 0.2, -- Value will decrease with each tick
need = 0.3 -- Value will increase with each tick (if addiction is above the limit)
}
},
["drug"] = {
title = "Drug", -- Title of the addiction
addictionDangerLimit = 30, -- If the addiction is above this value, danger text will be shown
needDangerLimit = 10, -- If the need is above this value, danger text will be shown
effectType = 2, -- 1, 2, 3 (this will be played if players addiction is above the limit)
onTick = {
addiction = 0.15, -- Value will decrease with each tick
need = 0.3 -- Value will increase with each tick (if addiction is above the limit)
}
},
["cigar"] = {
title = "Cigar", -- Title of the addiction
addictionDangerLimit = 60, -- If the addiction is above this value, danger text will be shown
needDangerLimit = 15, -- If the need is above this value, danger text will be shown
effectType = 1, -- 1, 2, 3 (this will be played if players addiction is above the limit)
onTick = {
addiction = 0.1, -- Value will decrease with each tick
need = 0.6 -- Value will increase with each tick (if addiction is above the limit)
}
},
},
AddictionHealingItems = {
["water"] = {
title = "Water",
itemName = "water", -- Item name in the database
itemType = "drink", -- "drink" or "food" or "cigaratte"
addictionType = "alcohol", -- Addiction name
onUse = {
decreaseAddiction = 10,
decreaseNeed = 10
},
},
},
AddictionItems = {
["beer"] = {
title = "Beer",
itemName = "beer", -- Item name in the database
itemType = "drink", -- "drink" or "food" or "cigaratte"
addictionType = "alcohol", -- Addiction name
onUse = { -- Values to be added with each use
increaseAddiction = 10,
decreaseNeed = 12
},
},
["whiskey"] = {
title = "Whiskey",
itemName = "whiskey", -- Item name in the database
itemType = "drink", -- "drink" or "food" or "cigaratte"
addictionType = "alcohol", -- Addiction name
onUse = { -- Values to be added with each use
increaseAddiction = 10,
decreaseNeed = 12
},
},
["vodka"] = {
title = "Vodka",
itemName = "vodka", -- Item name in the database
itemType = "drink", -- "drink" or "food" or "cigaratte"
addictionType = "alcohol", -- Addiction name
onUse = { -- Values to be added with each use
increaseAddiction = 10,
decreaseNeed = 12
},
},
["cigar"] = {
title = "Cigar",
itemName = "cigar", -- Item name in the database
itemType = "cigaratte", -- "drink" or "food" or "cigaratte"
addictionType = "cigar", -- Addiction name
onUse = { -- Values to be added with each use
increaseAddiction = 10,
decreaseNeed = 12
},
},
["weed"] = {
title = "Weed",
itemName = "weed", -- Item name in the database
itemType = "cigaratte", -- "drink" or "food" or "cigaratte"
addictionType = "drug", -- Addiction name
onUse = { -- Values to be added with each use
increaseAddiction = 10,
decreaseNeed = 12
},
},
["meth"] = {
title = "Meth",
itemName = "meth", -- Item name in the database
itemType = "cigaratte", -- "drink" or "food" or "cigaratte"
addictionType = "drug", -- Addiction name
onUse = { -- Values to be added with each use
increaseAddiction = 10,
decreaseNeed = 12
},
},
},
Notify = function(message, type, length)
if Config.Framework == "qb" then
Framework.Functions.Notify(message, type, length)
else
Framework.ShowNotification(message)
end
end,
}
Only logged in customers who have purchased this product may leave a review.
Brayan (verified owner) –
I had a compatibility problem with [framework/resource], and the support team helped me fix it immediately.
AnneRocket190 (verified owner) –
Just love the design and the customer support is the nicest.
Nicolette (verified owner) –
We tested several similar resources, but this one had the best combination of features, design, and performance.
Celia (verified owner) –
The developer helped me with a custom configuration and explained everything clearly.
Howard (verified owner) –
Excellent work. The resource runs smoothly and integrates well with our existing setup.
Ron (verified owner) –
Simple, effective, and well made. It does exactly what it is supposed to do.
Raymundo (verified owner) –
great
Jamel (verified owner) –
Been using a lot of items, this one is obviously the best