{"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-07-08T07:52:36","modified_gmt":"2025-07-08T05:52:36","slug":"guion-de-adiccion-a-fivem","status":"publish","type":"product","link":"https:\/\/fivemx.com\/es\/guion-de-adiccion-a-fivem\/","title":{"rendered":"Gui\u00f3n de adicci\u00f3n a FiveM"},"content":{"rendered":"<div class=\"video-container\"><iframe title=\"FiveM Addiction Script | Addiction System | ak4y-addiction\" width=\"1170\" height=\"658\" src=\"https:\/\/www.youtube.com\/embed\/PYo8qFUNGmI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<h3>Config file<\/h3>\n<pre data-no-translation=\"\" 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<div class=\"video-container\"><iframe title=\"FiveM Addiction Script | Addiction System | ak4y-addiction\" width=\"1170\" height=\"658\" src=\"https:\/\/www.youtube.com\/embed\/PYo8qFUNGmI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Sistema de gesti\u00f3n de adicciones FiveM: f\u00e1cil de configurar y rapid\u00edsimo, con JSON para mayor velocidad. Los jugadores pueden volverse adictos a ciertos objetos, lo que hace que el juego sea m\u00e1s atractivo. Si no los usan, su deseo aumenta y, si alcanza un nivel perjudicial, se activa un efecto especial.<\/p>\n<ul>\n<li><strong>F\u00e1cil de configurar<\/strong>:Config\u00farelo r\u00e1pidamente y personal\u00edcelo f\u00e1cilmente.<\/li>\n<li><strong>Rendimiento r\u00e1pido<\/strong>:Utiliza JSON para mayor velocidad.<\/li>\n<li><strong>Jugabilidad adictiva<\/strong>:Los jugadores pueden desarrollar adicciones a los objetos.<\/li>\n<li><strong>Efectos din\u00e1micos<\/strong>:Los altos niveles de deseo desencadenan efectos especiales.<\/li>\n<li><strong>Personalizable<\/strong>:Ajuste la configuraci\u00f3n y los elementos de la adicci\u00f3n a trav\u00e9s de un archivo de configuraci\u00f3n.<\/li>\n<\/ul>\n<h3>Soporte de base de datos<\/h3>\n<ul>\n<li><strong>MYSQL con base de datos JSON<\/strong>:Integraci\u00f3n compatible y eficiente.<\/li>\n<\/ul>\n<p>\u00a1Aporta una nueva capa de realismo a tu juego con nuestro sistema de gesti\u00f3n de adicciones!<\/p>","protected":false},"featured_media":152923,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[],"product_cat":[512,96,3078,511],"product_tag":[],"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-standalone-scripts","first","instock","sale","downloadable","virtual","taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product\/152921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/comments?post=152921"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/media\/152923"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/media?parent=152921"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product_brand?post=152921"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product_cat?post=152921"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product_tag?post=152921"}],"curies":[{"name":"gracias","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}