{"id":152921,"date":"2024-09-02T11:25:40","date_gmt":"2024-09-02T09:25:40","guid":{"rendered":"https:\/\/hifivem.com\/?post_type=product&#038;p=152921"},"modified":"2025-12-24T07:32:03","modified_gmt":"2025-12-24T06:32:03","slug":"fivem-suchtskript","status":"publish","type":"product","link":"https:\/\/fivemx.com\/de\/fivem-addiction-script\/","title":{"rendered":"FiveM-Sucht-Skript"},"content":{"rendered":"<p><iframe title=\"FiveM Addiction Script | Addiction System | ak4y-addiction\" width=\"1290\" height=\"726\" src=\"https:\/\/www.youtube.com\/embed\/PYo8qFUNGmI?feature=oembed\" loading=\"lazy\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h3>Config file<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Config = {\r\n    Framework = \"esx\", -- \"esx\" or \"qb\"\r\n    Identifier = \"discord\", -- Identifier for the database (discord \/ steam \/ license &lt;- recommended | not recommended -&gt; xbl \/ live \/ fivem \/ ip)\r\n    MenuCommand = \"addictions\",\r\n    MenuKey = \"F7\",\r\n    UseMenuKey = true,\r\n    TickTime = 10, -- Seconds (Less than 5 seconds is not recommended!)\r\n    EffectCooldown = 30, -- Seconds\r\n\r\n    Admins = {\r\n        \"discord:397032581326962689\", -- Add your steam hex here\r\n    },\r\n\r\n    Addictions = {\r\n        [\"alcohol\"] = {\r\n            title = \"Alcohol\", -- Title of the addiction\r\n            addictionDangerLimit = 60, -- If the addiction is above this value, danger text will be shown\r\n            needDangerLimit = 50, -- If the need is above this value, danger text will be shown\r\n            effectType = 3, -- 1, 2, 3 (this will be played if players addiction is above the limit)\r\n\r\n            onTick = {\r\n                addiction = 0.2, -- Value will decrease with each tick\r\n                need = 0.3 -- Value will increase with each tick (if addiction is above the limit)\r\n            }\r\n        },\r\n        [\"drug\"] = {\r\n            title = \"Drug\", -- Title of the addiction\r\n            addictionDangerLimit = 30, -- If the addiction is above this value, danger text will be shown\r\n            needDangerLimit = 10, -- If the need is above this value, danger text will be shown\r\n            effectType = 2, -- 1, 2, 3 (this will be played if players addiction is above the limit)\r\n\r\n            onTick = {\r\n                addiction = 0.15, -- Value will decrease with each tick\r\n                need = 0.3 -- Value will increase with each tick (if addiction is above the limit)\r\n            }\r\n        },\r\n        [\"cigar\"] = {\r\n            title = \"Cigar\", -- Title of the addiction\r\n            addictionDangerLimit = 60, -- If the addiction is above this value, danger text will be shown\r\n            needDangerLimit = 15, -- If the need is above this value, danger text will be shown\r\n            effectType = 1, -- 1, 2, 3 (this will be played if players addiction is above the limit)\r\n\r\n            onTick = {\r\n                addiction = 0.1, -- Value will decrease with each tick\r\n                need = 0.6 -- Value will increase with each tick (if addiction is above the limit)\r\n            }\r\n        },\r\n    },\r\n\r\n    AddictionHealingItems = {\r\n        [\"water\"] = {\r\n            title = \"Water\",\r\n            itemName = \"water\", -- Item name in the database\r\n            itemType = \"drink\", -- \"drink\" or \"food\" or \"cigaratte\"\r\n            addictionType = \"alcohol\", -- Addiction name\r\n\r\n            onUse = {\r\n                decreaseAddiction = 10,\r\n                decreaseNeed = 10\r\n            },\r\n        },\r\n    },\r\n\r\n    AddictionItems = {\r\n        [\"beer\"] = {\r\n            title = \"Beer\",\r\n            itemName = \"beer\", -- Item name in the database\r\n            itemType = \"drink\", -- \"drink\" or \"food\" or \"cigaratte\"\r\n            addictionType = \"alcohol\", -- Addiction name\r\n\r\n            onUse = { -- Values \u200b\u200bto be added with each use\r\n                increaseAddiction = 10,\r\n                decreaseNeed = 12\r\n            },\r\n        },\r\n        [\"whiskey\"] = {\r\n            title = \"Whiskey\",\r\n            itemName = \"whiskey\", -- Item name in the database\r\n            itemType = \"drink\", -- \"drink\" or \"food\" or \"cigaratte\"\r\n            addictionType = \"alcohol\", -- Addiction name\r\n\r\n            onUse = { -- Values \u200b\u200bto be added with each use\r\n                increaseAddiction = 10,\r\n                decreaseNeed = 12\r\n            },\r\n        },\r\n        [\"vodka\"] = {\r\n            title = \"Vodka\",\r\n            itemName = \"vodka\", -- Item name in the database\r\n            itemType = \"drink\", -- \"drink\" or \"food\" or \"cigaratte\"\r\n            addictionType = \"alcohol\", -- Addiction name\r\n\r\n            onUse = { -- Values \u200b\u200bto be added with each use\r\n                increaseAddiction = 10,\r\n                decreaseNeed = 12\r\n            },\r\n        },\r\n        [\"cigar\"] = {\r\n            title = \"Cigar\",\r\n            itemName = \"cigar\", -- Item name in the database\r\n            itemType = \"cigaratte\", -- \"drink\" or \"food\" or \"cigaratte\"\r\n            addictionType = \"cigar\", -- Addiction name\r\n\r\n            onUse = { -- Values \u200b\u200bto be added with each use\r\n                increaseAddiction = 10,\r\n                decreaseNeed = 12\r\n            },\r\n        },\r\n        [\"weed\"] = {\r\n            title = \"Weed\",\r\n            itemName = \"weed\", -- Item name in the database\r\n            itemType = \"cigaratte\", -- \"drink\" or \"food\" or \"cigaratte\"\r\n            addictionType = \"drug\", -- Addiction name\r\n\r\n            onUse = { -- Values \u200b\u200bto be added with each use\r\n                increaseAddiction = 10,\r\n                decreaseNeed = 12\r\n            },\r\n        },\r\n        [\"meth\"] = {\r\n            title = \"Meth\",\r\n            itemName = \"meth\", -- Item name in the database\r\n            itemType = \"cigaratte\", -- \"drink\" or \"food\" or \"cigaratte\"\r\n            addictionType = \"drug\", -- Addiction name\r\n\r\n            onUse = { -- Values \u200b\u200bto be added with each use\r\n                increaseAddiction = 10,\r\n                decreaseNeed = 12\r\n            },\r\n        },\r\n    },\r\n\r\n    Notify = function(message, type, length)\r\n        if Config.Framework == \"qb\" then\r\n            Framework.Functions.Notify(message, type, length)\r\n        else\r\n            Framework.ShowNotification(message)\r\n        end\r\n    end,\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>FiveM-Suchtmanagementsystem \u2013 Es ist einfach einzurichten und superschnell, wobei JSON f\u00fcr die Geschwindigkeit verwendet wird. Spieler k\u00f6nnen von bestimmten Gegenst\u00e4nden abh\u00e4ngig werden, was das Gameplay spannender macht. Wenn sie diese Gegenst\u00e4nde nicht verwenden, w\u00e4chst ihr Verlangen, und wenn es ein sch\u00e4dliches Niveau erreicht, tritt ein Spezialeffekt ein.<\/p>\n<ul>\n<li><strong>Einfach zu konfigurieren<\/strong>: Schnelle Einrichtung und einfache Anpassung.<\/li>\n<li><strong>Schnelle Leistung<\/strong>: Verwendet JSON f\u00fcr Geschwindigkeit.<\/li>\n<li><strong>S\u00fcchtig machendes Gameplay<\/strong>: Spieler k\u00f6nnen eine Abh\u00e4ngigkeit von Gegenst\u00e4nden entwickeln.<\/li>\n<li><strong>Dynamische Effekte<\/strong>: Ein hohes Verlangen l\u00f6st besondere Effekte aus.<\/li>\n<li><strong>Anpassbar<\/strong>: Passen Sie Suchteinstellungen und Elemente \u00fcber eine Konfigurationsdatei an.<\/li>\n<\/ul>\n<h3>Datenbank-Support<\/h3>\n<ul>\n<li><strong>MySQL mit JSON-Datenbank<\/strong>: Kompatible und effiziente Integration.<\/li>\n<\/ul>\n<p>Verleihen Sie Ihrem Spiel mit unserem Suchtmanagementsystem eine neue Ebene des Realismus!<\/p>","protected":false},"featured_media":152923,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[],"product_cat":[512,96,1895,2907,511],"product_tag":[2690],"class_list":["post-152921","product","type-product","status-publish","has-post-thumbnail","product_cat-qbcore-scripts","product_cat-esx-scripts","product_cat-fivem-medic-scripts","product_cat-qbox-scripts","product_cat-standalone-scripts","product_tag-drug","first","instock","sale","downloadable","virtual","taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/product\/152921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/comments?post=152921"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/media\/152923"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/media?parent=152921"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/product_brand?post=152921"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/product_cat?post=152921"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/product_tag?post=152921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}