Add to cart
Sale!

FiveM Addiction Script

Original price was: 21.86 €.Current price is: 12.75 €.

-42%

FiveM addiction management system – It’s easy to set up and super fast, using JSON for speed. Players can become addicted to certain items, making the gameplay more engaging. If they don’t use these items, their desire grows, and if it reaches a harmful level, a special effect kicks in.

  • Easy to Configure: Set it up quickly and customize easily.
  • Fast Performance: Uses JSON for speed.
  • Addictive Gameplay: Players can develop addictions to items.
  • Dynamic Effects: High desire levels trigger special effects.
  • Customizable: Adjust addiction settings and items through a config file.

Database Support

  • MYSQL with JSON Database: Compatible and efficient integration.

Bring a new layer of realism to your game with our addiction management system!

Add to Cart
FiveM addiction system
FiveM Addiction Script
21.86  Original price was: 21.86 €.12.75 Current price is: 12.75 €.

Direct Download of the FiveM Mod

  • 30 days easy returns (Money-back-Guarantee)
  • Support included
  • Fully Open Source
Guaranteed Safe Checkout

YouTube video

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,
}

 

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.