{"id":151391,"date":"2024-08-29T14:48:28","date_gmt":"2024-08-29T12:48:28","guid":{"rendered":"https:\/\/hifivem.com\/?post_type=product&#038;p=151391"},"modified":"2026-08-06T12:40:28","modified_gmt":"2026-08-06T10:40:28","slug":"menu-principal-del-codigo","status":"publish","type":"product","link":"https:\/\/fivemx.com\/es\/menu-principal-del-codigo\/","title":{"rendered":"Men\u00fa del jefe de CodeM"},"content":{"rendered":"<div class=\"video-container\"><iframe title=\"CodeM mBossmenu | discord.gg\/zj3QsUfxWs\" width=\"1170\" height=\"658\" src=\"https:\/\/www.youtube.com\/embed\/W2EyQUMf8zQ?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>Video<\/h3>\n<div class=\"video-container\"><iframe title=\"CodeM mBossmenu | discord.gg\/zj3QsUfxWs\" width=\"1170\" height=\"658\" src=\"https:\/\/www.youtube.com\/embed\/W2EyQUMf8zQ?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<hr \/>\n<h3>Config file<\/h3>\n<pre data-no-translation=\"\" class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Config = {}\r\nConfig.Framework = 'esx' -- autodetect, qb, oldqb, esx, oldesx\r\nConfig.SQL = \"oxmysql\"          -- oxmysql, ghmattimysql, mysql-async\r\nConfig.ItemImagesFolder = \"nui:\/\/ox_inventory\/web\/images\/\"\r\nConfig.MenuKey = 38\r\nConfig.InteractionHandler = 'ox_target' -- drawtext, ox_target, qb_target, qb_textui, esx_textui\r\nConfig.AdminMenuCommand = \"adminboss\" \r\nConfig.DefaultImage = 'https:\/\/cdn.discordapp.com\/attachments\/983471660684423240\/1147567519712940044\/example-pp.png'\r\nConfig.Admins = {\r\n    \"admin\",\r\n    \"superadmin\",\r\n    \"god\",\r\n    \"mod\",\r\n    \"moderator\",\r\n}\r\n\r\n\r\nConfig.Certifications = {\r\n    {\r\n        name = \"air_support\",\r\n        label = \"Air Support Division\",\r\n        icon = 'air_support_icon.svg',\r\n    },\r\n    {\r\n        name = \"burglary_task\",\r\n        label = \"Burglary Task Force\",\r\n        icon = 'burglary_task_icon.svg',\r\n    },\r\n    {\r\n        name = \"field_training_officer\",\r\n        label = \"Field Officer\",\r\n        icon = 'field_training_icon.svg',\r\n    },\r\n    {\r\n        name = \"high_speed_pursuit_unit\",\r\n        label = \"High Speed Pursuit Unit\",\r\n        icon = 'high_speed_pursuit_unit_icon.svg',\r\n    },\r\n    {\r\n        name = \"high_value_target_unit\",\r\n        label = \"High Value Target Unit\",\r\n        icon = 'high_value_target_unit_icon.svg',\r\n    },\r\n    {\r\n        name = \"k9_unit\",\r\n        label = \"K9 Unit\",\r\n        icon = 'k9_unit_icon.svg',\r\n    },\r\n    {\r\n        name = \"major_crimes_unit\",\r\n        label = \"Major Crimes Unit\",\r\n        icon = 'major_crimes_unit_icon.svg',\r\n    },\r\n    {\r\n        name = \"motorcycle\",\r\n        label = \"Motorcycle\",\r\n        icon = 'motorcycle_icon.svg',\r\n    },\r\n    {\r\n        name = \"shark_rangers_unit\",\r\n        label = \"Shark Rangers Unit\",\r\n        icon = 'shark_rangers_icon.svg',\r\n    },\r\n}\r\n\r\nConfig.Inventory = \"ox_inventory\" -- codem-inventory, qb_inventory, esx_inventory, ox_inventory, qs_inventory\r\n\r\nConfig.BlacklistedItems = {          -- items you don't want to show up on the menu\r\n    -- \"water\",\r\n    -- \"weapon_pistol\"\r\n}\r\n\r\nConfig.Notify = function(message)\r\n    if Config.Framework == 'esx' or Config.Framework == 'oldesx' then\r\n        TriggerEvent(\"esx:showNotification\", message)\r\n    else\r\n        TriggerEvent('QBCore:Notify', message, \"info\", 1500)\r\n    end\r\nend\r\nConfig.Clothes = \"fivem-appearance\" -- fivem-appearance -- illenium-appearance -- codem-appearance -- esx_skin -- qb-clothing\r\n\r\nfunction openClothingMenu()\r\n    if Config.Clothes == 'fivem-appearance' then\r\n        TriggerEvent(\"fivem-appearance:client:openClothingShopMenu\", false)\r\n    end\r\n    if Config.Clothes == 'illenium-appearance' then\r\n        TriggerEvent(\"illenium-appearance:client:openClothingShop\", false)        \r\n    end\r\n    if Config.Clothes == 'codem-appearance' then\r\n        TriggerEvent(\"codem-appereance:OpenClothing\")\r\n         --[[\r\n            \/\/ Add this code in codem-appereance client\/clothing.lua\r\n\r\n           RegisterNetEvent(\"codem-appereance:OpenClothing\")\r\n            AddEventHandler(\"codem-appereance:OpenClothing\", function()\r\n                OpenMenu(\"binco\")\r\n            end)\r\n        --]]\r\n    end\r\n    if Config.Clothes == 'esx_skin' then\r\n        TriggerEvent(\"esx_skin:openMenu\")\r\n    end\r\n    if Config.Clothes == 'qb-clothes' then\r\n        TriggerEvent(\"qb-clothing:client:openMenu\")\r\n    end\r\nend\r\n\r\nfunction RefreshSkin()\r\n    if Config.Clothes == 'fivem-appearance' then\r\n        TriggerEvent(\"fivem-appearance:client:reloadSkin\")\r\n    end\r\n    if Config.Clothes == 'illenium-appearance' then\r\n        TriggerEvent(\"illenium-appearance:client:reloadSkin\")        \r\n    end\r\n    if Config.Clothes == 'codem-appearance' then\r\n        TriggerEvent(\"codem-appearance:reloadSkin\")\r\n    end\r\n    if Config.Clothes == 'esx_skin' then\r\n        TriggerEvent(\"esx_skin:getLastSkin\", function(lastSkin)\r\n            TriggerEvent('skinchanger:loadSkin', lastSkin)\r\n        end)\r\n    end\r\n    if Config.Clothes == 'qb-clothes' then\r\n        TriggerEvent(\"qb-clothing:reloadSkin\")\r\n        --[[\r\n            \/\/ Add this code in qb-clothing client\/main.lua\r\n\r\n            RegisterNetEvent(\"qb-clothing:reloadSkin\")\r\n            AddEventHandler(\"qb-clothing:reloadSkin\", function()      \r\n                local playerPed = PlayerPedId()\r\n                local health = GetEntityHealth(playerPed)\r\n                reloadSkin(health)\r\n            end)\r\n        --]]\r\n    end\r\nend\r\n\r\nfunction onBossMenuOpen()\r\nend\r\n\r\nfunction onBossMenuClose()\r\nend\r\n\r\nfunction badgenumber(source)\r\n    -- your function to get player badge number\r\n    return 0\r\nend<\/pre>\n<p>&nbsp;<\/p>\n<h3>Related Products You Might Like<\/h3>\n<ul>\n<li><a href=https:\/\/fivemx.com\/jobs-creator\/><strong>FiveM Jobs Creator<\/strong><\/a> &#8211; Create custom jobs easily, trusted by 321+ servers<\/li>\n<li><a href=https:\/\/fivemx.com\/core-multiple-jobs\/><strong>Core Multiple Jobs<\/strong><\/a> &#8211; Allow players multiple jobs simultaneously with 229+ sales<\/li>\n<li><a href=https:\/\/fivemx.com\/esx-plugin-for-easyadmin\/><strong>ESX Plugin For EasyAdmin<\/strong><\/a> &#8211; Admin management integration with 219+ servers<\/li>\n<li><a href=https:\/\/fivemx.com\/mod-category\/fivem-servers\/><strong>QBCore Framework Server<\/strong><\/a> &#8211; Complete QBCore server with boss menus included<\/li>\n<\/ul>\n<h3>Config file<\/h3>\n<pre data-no-translation=\"\" class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Config = {}\r\nConfig.Framework = 'esx' -- autodetect, qb, oldqb, esx, oldesx\r\nConfig.SQL = \"oxmysql\"          -- oxmysql, ghmattimysql, mysql-async\r\nConfig.ItemImagesFolder = \"nui:\/\/ox_inventory\/web\/images\/\"\r\nConfig.MenuKey = 38\r\nConfig.InteractionHandler = 'ox_target' -- drawtext, ox_target, qb_target, qb_textui, esx_textui\r\nConfig.AdminMenuCommand = \"adminboss\" \r\nConfig.DefaultImage = 'https:\/\/cdn.discordapp.com\/attachments\/983471660684423240\/1147567519712940044\/example-pp.png'\r\nConfig.Admins = {\r\n    \"admin\",\r\n    \"superadmin\",\r\n    \"god\",\r\n    \"mod\",\r\n    \"moderator\",\r\n}\r\n\r\n\r\nConfig.Certifications = {\r\n    {\r\n        name = \"air_support\",\r\n        label = \"Air Support Division\",\r\n        icon = 'air_support_icon.svg',\r\n    },\r\n    {\r\n        name = \"burglary_task\",\r\n        label = \"Burglary Task Force\",\r\n        icon = 'burglary_task_icon.svg',\r\n    },\r\n    {\r\n        name = \"field_training_officer\",\r\n        label = \"Field Officer\",\r\n        icon = 'field_training_icon.svg',\r\n    },\r\n    {\r\n        name = \"high_speed_pursuit_unit\",\r\n        label = \"High Speed Pursuit Unit\",\r\n        icon = 'high_speed_pursuit_unit_icon.svg',\r\n    },\r\n    {\r\n        name = \"high_value_target_unit\",\r\n        label = \"High Value Target Unit\",\r\n        icon = 'high_value_target_unit_icon.svg',\r\n    },\r\n    {\r\n        name = \"k9_unit\",\r\n        label = \"K9 Unit\",\r\n        icon = 'k9_unit_icon.svg',\r\n    },\r\n    {\r\n        name = \"major_crimes_unit\",\r\n        label = \"Major Crimes Unit\",\r\n        icon = 'major_crimes_unit_icon.svg',\r\n    },\r\n    {\r\n        name = \"motorcycle\",\r\n        label = \"Motorcycle\",\r\n        icon = 'motorcycle_icon.svg',\r\n    },\r\n    {\r\n        name = \"shark_rangers_unit\",\r\n        label = \"Shark Rangers Unit\",\r\n        icon = 'shark_rangers_icon.svg',\r\n    },\r\n}\r\n\r\nConfig.Inventory = \"ox_inventory\" -- codem-inventory, qb_inventory, esx_inventory, ox_inventory, qs_inventory\r\n\r\nConfig.BlacklistedItems = {          -- items you don't want to show up on the menu\r\n    -- \"water\",\r\n    -- \"weapon_pistol\"\r\n}\r\n\r\nConfig.Notify = function(message)\r\n    if Config.Framework == 'esx' or Config.Framework == 'oldesx' then\r\n        TriggerEvent(\"esx:showNotification\", message)\r\n    else\r\n        TriggerEvent('QBCore:Notify', message, \"info\", 1500)\r\n    end\r\nend\r\nConfig.Clothes = \"fivem-appearance\" -- fivem-appearance -- illenium-appearance -- codem-appearance -- esx_skin -- qb-clothing\r\n\r\nfunction openClothingMenu()\r\n    if Config.Clothes == 'fivem-appearance' then\r\n        TriggerEvent(\"fivem-appearance:client:openClothingShopMenu\", false)\r\n    end\r\n    if Config.Clothes == 'illenium-appearance' then\r\n        TriggerEvent(\"illenium-appearance:client:openClothingShop\", false)        \r\n    end\r\n    if Config.Clothes == 'codem-appearance' then\r\n        TriggerEvent(\"codem-appereance:OpenClothing\")\r\n         --[[\r\n            \/\/ Add this code in codem-appereance client\/clothing.lua\r\n\r\n           RegisterNetEvent(\"codem-appereance:OpenClothing\")\r\n            AddEventHandler(\"codem-appereance:OpenClothing\", function()\r\n                OpenMenu(\"binco\")\r\n            end)\r\n        --]]\r\n    end\r\n    if Config.Clothes == 'esx_skin' then\r\n        TriggerEvent(\"esx_skin:openMenu\")\r\n    end\r\n    if Config.Clothes == 'qb-clothes' then\r\n        TriggerEvent(\"qb-clothing:client:openMenu\")\r\n    end\r\nend\r\n\r\nfunction RefreshSkin()\r\n    if Config.Clothes == 'fivem-appearance' then\r\n        TriggerEvent(\"fivem-appearance:client:reloadSkin\")\r\n    end\r\n    if Config.Clothes == 'illenium-appearance' then\r\n        TriggerEvent(\"illenium-appearance:client:reloadSkin\")        \r\n    end\r\n    if Config.Clothes == 'codem-appearance' then\r\n        TriggerEvent(\"codem-appearance:reloadSkin\")\r\n    end\r\n    if Config.Clothes == 'esx_skin' then\r\n        TriggerEvent(\"esx_skin:getLastSkin\", function(lastSkin)\r\n            TriggerEvent('skinchanger:loadSkin', lastSkin)\r\n        end)\r\n    end\r\n    if Config.Clothes == 'qb-clothes' then\r\n        TriggerEvent(\"qb-clothing:reloadSkin\")\r\n        --[[\r\n            \/\/ Add this code in qb-clothing client\/main.lua\r\n\r\n            RegisterNetEvent(\"qb-clothing:reloadSkin\")\r\n            AddEventHandler(\"qb-clothing:reloadSkin\", function()      \r\n                local playerPed = PlayerPedId()\r\n                local health = GetEntityHealth(playerPed)\r\n                reloadSkin(health)\r\n            end)\r\n        --]]\r\n    end\r\nend\r\n\r\nfunction onBossMenuOpen()\r\nend\r\n\r\nfunction onBossMenuClose()\r\nend\r\n\r\nfunction badgenumber(source)\r\n    -- your function to get player badge number\r\n    return 0\r\nend<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>El <strong>Men\u00fa del jefe<\/strong> Es un sistema de men\u00fas principal sofisticado y repleto de funciones, dise\u00f1ado para su uso con los frameworks ESX y QBCore en FiveM. Esta herramienta premium ofrece a propietarios de empresas y administradores de servidores un control completo sobre las operaciones comerciales, la gesti\u00f3n de empleados y las tareas administrativas, todo a trav\u00e9s de una interfaz elegante y f\u00e1cil de usar.<\/p>\n<h3>Caracter\u00edsticas principales:<\/h3>\n<ol>\n<li><strong>Gesti\u00f3n de empleados<\/strong>Visualiza y gestiona f\u00e1cilmente a tus empleados con perfiles detallados que muestran su estado en l\u00ednea\/fuera de l\u00ednea, rango y fecha de inicio. Los due\u00f1os de negocios pueden reclutar nuevos miembros directamente desde el men\u00fa.<\/li>\n<li><strong>Detalles de rango<\/strong>Defina y gestione los rangos de los empleados, incluyendo la configuraci\u00f3n de salarios, permisos y acciones espec\u00edficas para cada rango. Esta secci\u00f3n proporciona una forma organizada de realizar un seguimiento de las funciones y responsabilidades de los empleados.<\/li>\n<li><strong>Inventario empresarial<\/strong>: Permite que tanto los jefes como los empleados accedan, agreguen o eliminen art\u00edculos del inventario empresarial compartido, lo que agiliza la gesti\u00f3n del inventario.<\/li>\n<li><strong>Men\u00fa de administrador para empresas<\/strong>: Los administradores del servidor pueden crear nuevos trabajos y gestionar la configuraci\u00f3n de los negocios a trav\u00e9s de un panel de administraci\u00f3n dedicado. Esto incluye a\u00f1adir nuevos negocios, configurar roles de trabajo y supervisar las operaciones generales de los negocios.<\/li>\n<li><strong>Vista empresarial personalizable<\/strong>Los administradores pueden personalizar la apariencia del men\u00fa de mBoss, incluyendo temas de color y logotipos de la empresa. La interfaz tambi\u00e9n proporciona informaci\u00f3n financiera, incluyendo ingresos y gastos, lo que facilita el seguimiento del rendimiento empresarial.<\/li>\n<li><strong>Seguro y eficiente<\/strong>Dise\u00f1ado para un rendimiento \u00f3ptimo, mBossmenu garantiza una experiencia fluida y con capacidad de respuesta incluso con una gran cantidad de empleados y empresas.<\/li>\n<\/ol>\n<p>Con mBossmenu, la gesti\u00f3n empresarial en tu servidor FiveM no solo se simplifica, sino que alcanza un nuevo nivel de profesionalismo y eficiencia. Ideal para servidores de rol que buscan una experiencia de gesti\u00f3n empresarial realista y atractiva. Disponible exclusivamente para usuarios premium.<\/p>","protected":false},"featured_media":151392,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[2898],"product_cat":[512,96,1892],"product_tag":[],"class_list":["post-151391","product","type-product","status-publish","has-post-thumbnail","product_brand-codem","product_cat-qbcore-scripts","product_cat-esx-scripts","product_cat-fivem-job-scripts","first","instock","sale","downloadable","virtual","taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product\/151391","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=151391"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/media\/151392"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/media?parent=151391"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product_brand?post=151391"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product_cat?post=151391"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/fivemx.com\/es\/wp-json\/wp\/v2\/product_tag?post=151391"}],"curies":[{"name":"gracias","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}