{"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":"roteiro-de-vicio-fivem","status":"publish","type":"product","link":"https:\/\/fivemx.com\/pt\/fivem-addiction-script\/","title":{"rendered":"Roteiro de v\u00edcio FiveM"},"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>Sistema de gerenciamento de v\u00edcio FiveM \u2013 \u00c9 f\u00e1cil de configurar e super r\u00e1pido, usando JSON para velocidade. Os jogadores podem se tornar viciados em certos itens, tornando a jogabilidade mais envolvente. Se eles n\u00e3o usarem esses itens, seu desejo aumenta, e se atingir um n\u00edvel prejudicial, um efeito especial entra em a\u00e7\u00e3o.<\/p>\n<ul>\n<li><strong>F\u00e1cil de configurar<\/strong>: Configure rapidamente e personalize facilmente.<\/li>\n<li><strong>Desempenho r\u00e1pido<\/strong>: Usa JSON para velocidade.<\/li>\n<li><strong>Jogabilidade viciante<\/strong>: Os jogadores podem desenvolver v\u00edcios em itens.<\/li>\n<li><strong>Efeitos din\u00e2micos<\/strong>: Altos n\u00edveis de desejo acionam efeitos especiais.<\/li>\n<li><strong>Personaliz\u00e1vel<\/strong>: Ajuste as configura\u00e7\u00f5es e itens de depend\u00eancia por meio de um arquivo de configura\u00e7\u00e3o.<\/li>\n<\/ul>\n<h3>Suporte de banco de dados<\/h3>\n<ul>\n<li><strong>MYSQL com banco de dados JSON<\/strong>: Integra\u00e7\u00e3o compat\u00edvel e eficiente.<\/li>\n<\/ul>\n<p>Traga uma nova camada de realismo ao seu jogo com nosso sistema de gerenciamento de v\u00edcios!<\/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\/pt\/wp-json\/wp\/v2\/product\/152921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/comments?post=152921"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/media\/152923"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/media?parent=152921"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/product_brand?post=152921"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/product_cat?post=152921"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/product_tag?post=152921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}