Ajouter au panier
Promo !
Script ESX QBCore Standalone

Scénario de dépendance à FiveM

Le prix initial était : $22.00.Le prix actuel est : $13.00.

-41%

Système de gestion des addictions FiveM – Il est facile à configurer et ultra rapide, utilisant JSON pour la vitesse. Les joueurs peuvent devenir accros à certains objets, ce qui rend le jeu plus attrayant. S'ils n'utilisent pas ces objets, leur désir grandit, et s'il atteint un niveau nocif, un effet spécial se déclenche.

  • Facile à configurer:Installez-le rapidement et personnalisez-le facilement.
  • Performances rapides:Utilise JSON pour la vitesse.
  • Un gameplay addictif:Les joueurs peuvent développer des addictions aux objets.
  • Effets dynamiques:Des niveaux de désir élevés déclenchent des effets spéciaux.
  • Personnalisable: Ajustez les paramètres et les éléments de dépendance via un fichier de configuration.

Prise en charge de la base de données

  • MYSQL avec base de données JSON:Intégration compatible et efficace.

Apportez une nouvelle couche de réalisme à votre jeu avec notre système de gestion des dépendances !

Ajouter au panier
Système d'addiction FiveM
Scénario de dépendance à FiveM
$22.00 Le prix initial était : $22.00.$13.00Le prix actuel est : $13.00.

Détails du produit

Framework
ESX, QBCore, Autonome
Type de ressource
Script
Fichiers inclus
1 fichier téléchargeable

Détails de l’achat

Accès aux mises à jour
Accès à vie aux fichiers publiés sur cette fiche produit Lire la politique d’accès aux mises à jour
Format de téléchargement
ZIP

Fichier de configuration

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

 

Avis

Il n’y a pas encore d’avis.

Seuls les clients connectés ayant acheté ce produit ont la possibilité de laisser un avis.