Add to cart
Sale!

FiveM Addiction Script

$22.00 $13.00Original price $22.00. Current price $13.00.

-41%

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!

$ USD
  • $ USD
  • € EUR
  • £ GBP
Add to Cart
FiveM addiction system
FiveM Addiction Script
$22.00 $13.00Original price $22.00. Current price $13.00.

Instant download

  • Money-Back-Guarantee
  • Fully Open Source

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

  1. Brayan (verified owner)

    I had a compatibility problem with [framework/resource], and the support team helped me fix it immediately.

  2. AnneRocket190 (verified owner)

    Just love the design and the customer support is the nicest.

  3. Nicolette (verified owner)

    We tested several similar resources, but this one had the best combination of features, design, and performance.

  4. Celia (verified owner)

    The developer helped me with a custom configuration and explained everything clearly.

  5. Howard (verified owner)

    Excellent work. The resource runs smoothly and integrates well with our existing setup.

  6. Ron (verified owner)

    Simple, effective, and well made. It does exactly what it is supposed to do.

  7. Raymundo (verified owner)

    great

  8. Jamel (verified owner)

    Been using a lot of items, this one is obviously the best

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