{"id":42209,"date":"2022-08-31T05:50:22","date_gmt":"2022-08-31T03:50:22","guid":{"rendered":"https:\/\/esx-scripts.com\/?post_type=product&#038;p=42209"},"modified":"2025-12-24T07:31:55","modified_gmt":"2025-12-24T06:31:55","slug":"sistema-de-assalto-a-banco-qbcore-2","status":"publish","type":"product","link":"https:\/\/fivemx.com\/pt\/qbcore-bank-robbery-system\/","title":{"rendered":"Sistema de assalto a banco QBCore"},"content":{"rendered":"\r\n<div class=\"wp-block-embed__wrapper\">\r\n<p><iframe title=\"[FiveM] Lionh34rt Bank Robbery\" width=\"1290\" height=\"726\" src=\"https:\/\/www.youtube.com\/embed\/x2XXZrowYRs?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>\r\n<\/div>\r\n<div>\u00a0<\/div>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>\r\n\r\n# Description\r\n\r\n# Dependencies\r\n* [QBCore Framework](https:\/\/github.com\/qbcore-framework)\r\n* [mkalasers by mkafrin](https:\/\/github.com\/mkafrin\/mka-lasers)\r\n* [Pacific Bank by K4MB1 MAPS](https:\/\/k4mb1.tebex.io\/package\/4692112)\r\n* [Memorygame by pushkart2](https:\/\/github.com\/pushkart2\/memorygame)\r\n* [dim-passhack by Dimbo Scripts](https:\/\/dimbo-scripts.tebex.io\/package\/4616362)\r\n* [Hack minigame by Jasper-Hustad](https:\/\/github.com\/Jesper-Hustad\/YesPixel-minigame)\r\n* [qb-target by BerkieBb](https:\/\/github.com\/BerkieBb\/qb-target)\r\n* [ms-peds by MiddleSkillz](https:\/\/github.com\/MiddleSkillz\/ms-peds*)\r\n* [qb-powerplant by Lionh34rt#4305](https:\/\/lionh34rt.tebex.io\/)\r\n\r\n# Installation\r\n* **Add the items to your shared.lua**\r\n* **Add the correct lines to your giveitem command**\r\n* **Install all the dependencies**\r\n* **Add the sound effects (bankdrill) to your interact-sound resource**\r\n* **Create nightvision in smallresources**\r\n* **You may have to change the clothing piece in the nightvision.lua**\r\n* **Rename and add entries to the scoreboard triggers: 'Fleeca', 'Paleto', 'Pacific'**\r\n* **Change the doorlock triggers to match your corresponding doorlockId**\r\n\r\n# Items for shared.lua\r\n```lua\r\n[\"usb_green\"] \t\t \t \t\t = {[\"name\"] = \"usb_green\",           \t\t\t[\"label\"] = \"USB Drive\",\t \t\t\t[\"weight\"] = 1000, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"usb_green.png\", \t\t\t[\"unique\"] = false, \t[\"useable\"] = true, \t[\"shouldClose\"] = false,   \t[\"combinable\"] = nil,   \t[\"description\"] = \"A green USB flash drive\"},\r\n[\"usb_red\"] \t\t \t \t\t = {[\"name\"] = \"usb_red\",           \t\t\t[\"label\"] = \"USB Drive\",\t \t\t\t[\"weight\"] = 1000, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"usb_red.png\", \t\t\t\t[\"unique\"] = false, \t[\"useable\"] = true, \t[\"shouldClose\"] = false,   \t[\"combinable\"] = nil,   \t[\"description\"] = \"A red USB flash drive\"},\r\n[\"usb_blue\"] \t\t \t \t\t = {[\"name\"] = \"usb_blue\",           \t\t\t[\"label\"] = \"USB Drive\",\t \t\t\t[\"weight\"] = 1000, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"usb_blue.png\", \t\t\t[\"unique\"] = false, \t[\"useable\"] = true, \t[\"shouldClose\"] = false,   \t[\"combinable\"] = nil,   \t[\"description\"] = \"A blue USB flash drive\"},\r\n[\"usb_gold\"] \t\t \t \t\t = {[\"name\"] = \"usb_gold\",           \t\t\t[\"label\"] = \"USB Drive\",\t \t\t\t[\"weight\"] = 1000, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"usb_gold.png\", \t\t\t[\"unique\"] = false, \t[\"useable\"] = true, \t[\"shouldClose\"] = false,   \t[\"combinable\"] = nil,   \t[\"description\"] = \"A gold USB flash drive\"},\r\n[\"usb_grey\"] \t\t \t \t\t = {[\"name\"] = \"usb_grey\",           \t\t\t[\"label\"] = \"USB Drive\",\t \t\t\t[\"weight\"] = 1000, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"usb_grey.png\", \t\t\t[\"unique\"] = false, \t[\"useable\"] = true, \t[\"shouldClose\"] = false,   \t[\"combinable\"] = nil,   [\"description\"] = \"A grey USB flash drive\"},\r\n\r\n\r\n[\"laptop_green\"] \t\t \t \t = {[\"name\"] = \"laptop_green\",           \t\t[\"label\"] = \"Laptop\",\t \t\t\t\t[\"weight\"] = 2500, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"laptop_green.png\", \t\t[\"unique\"] = true, \t\t[\"useable\"] = true, \t[\"shouldClose\"] = true,   \t[\"combinable\"] = nil,   [\"description\"] = \"A laptop that you got from Ph03nix\"},\r\n[\"laptop_red\"] \t\t \t \t\t = {[\"name\"] = \"laptop_red\",           \t\t\t[\"label\"] = \"Laptop\",\t \t\t\t\t[\"weight\"] = 2500, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"laptop_red.png\", \t\t\t[\"unique\"] = true, \t\t[\"useable\"] = true, \t[\"shouldClose\"] = true,   \t[\"combinable\"] = nil,   [\"description\"] = \"A laptop that you got from Plague\"},\r\n[\"laptop_blue\"] \t\t \t \t = {[\"name\"] = \"laptop_blue\",           \t\t[\"label\"] = \"Laptop\",\t \t\t\t\t[\"weight\"] = 2500, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"laptop_blue.png\", \t\t\t[\"unique\"] = true, \t\t[\"useable\"] = true, \t[\"shouldClose\"] = true,   \t[\"combinable\"] = nil,   [\"description\"] = \"A laptop that you got from Ramsay\"},\r\n[\"laptop_gold\"] \t\t \t \t = {[\"name\"] = \"laptop_gold\",        \t\t   \t[\"label\"] = \"Laptop\",\t \t\t\t\t[\"weight\"] = 2500, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"laptop_gold.png\", \t\t\t[\"unique\"] = true, \t\t[\"useable\"] = true, \t[\"shouldClose\"] = true,   \t[\"combinable\"] = nil,   [\"description\"] = \"A laptop that you got from Trinity\"},\r\n\r\n[\"lowervaultcodes\"] \t\t\t = {[\"name\"] = \"lowervaultcodes\", \t\t\t\t[\"label\"] = \"Access Codes\", \t\t\t[\"weight\"] = 0, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"lowervaultcodes.png\", \t\t[\"unique\"] = true, \t\t[\"useable\"] = false, \t[\"shouldClose\"] = false,\t[\"combinable\"] = nil,   [\"description\"] = \"A copy of the Pacific Bank lower vault access code..\"},\r\n\r\n[\"explosive\"] \t\t\t\t\t = {[\"name\"] = \"explosive\", \t\t\t\t\t[\"label\"] = \"Explosive\", \t\t\t\t[\"weight\"] = 5000, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"explosive.png\", \t\t\t\t\t[\"unique\"] = false, \t[\"useable\"] = true, \t[\"shouldClose\"] = true,\t   \t[\"combinable\"] = nil,   \t[\"description\"] = \"An improvised explosive of fireworks and thermite\"},\r\n[\"nightvision\"] \t\t\t \t = {[\"name\"] = \"nightvision\", \t\t\t\t\t[\"label\"] = \"Night Vision Goggles\", \t[\"weight\"] = 6000, \t\t[\"type\"] = \"item\", \t\t[\"image\"] = \"nightvision.png\", \t\t\t[\"unique\"] = false, \t[\"useable\"] = true, \t[\"shouldClose\"] = false,\t   \t[\"combinable\"] = nil,   [\"description\"] = \"These allow you to see in the dark\"},\r\n```\r\n\r\n# ADD THE FOLLOWING TO YOUR QB-INVENTORY\/SERVER\/MAIN.LUA UNDER THE GIVEITEM COMMAND\r\n```lua\r\nelseif itemData[\"name\"] == \"laptop_green\" then\r\n\tinfo.uses = 3\r\nelseif itemData[\"name\"] == \"laptop_blue\" then\r\n\tinfo.uses = 3\r\nelseif itemData[\"name\"] == \"laptop_red\" then\r\n\tinfo.uses = 3\r\nelseif itemData[\"name\"] == \"laptop_gold\" then\r\n\tinfo.uses = 3\r\nelseif itemData[\"name\"] == \"usb_grey\" then\r\n\tinfo.uses = 3\r\n```\r\n\r\n# Add to your inventory app.js to display the vault codes as an item:\r\n```js\r\n} else if (itemData.name == \"lowervaultcodes\") {\r\n\t$(\".item-info-title\").html('&lt;p&gt;'+itemData.label+'&lt;\/p&gt;')\r\n\t$(\".item-info-description\").html('&lt;p&gt;'+itemData.description+'&lt;\/p&gt;&lt;p&gt;Access Code: '+itemData.info.codes+'&lt;\/p&gt;');\r\n```\r\n\r\n# Add this to your ms-peds config:\r\n```lua\r\n{\r\n\tmodel = `hc_hacker`,\r\n\tcoords = vector4(517.44, 174.29, 100.25, 158.45),\r\n\tgender = 'male'\r\n},\r\n{\r\n\tmodel = `g_f_y_vagos_01`,\r\n\tcoords = vector4(-458.65, -2274.4, 8.52, 266.45),\r\n\tgender = 'male'\r\n},\r\n{\r\n\tmodel = `ig_talcc`,\r\n\tcoords = vector4(1579.43, 3617.83, 38.78, 166.87),\r\n\tgender = 'male'\r\n},\r\n{\r\n\tmodel = `s_f_y_clubbar_01`,\r\n\tcoords = vector4(-1600.27, 3070.47, 33.66, 137.83),\r\n\tgender = 'male'\r\n},\r\n{\r\n\tmodel = `g_f_importexport_01`,\r\n\tcoords = vector4(-3169.54, 1093.57, 20.86, 27.67),\r\n\tgender = 'female'\r\n},\r\n```\r\n\r\n# Nightvision\r\n```lua\r\n--Server side:\r\nQBCore.Functions.CreateUseableItem(\"nightvision\", function(source)\r\n    TriggerClientEvent(\"nightvision:UseNightvision\", source)\r\nend)\r\n\r\n--Client Side:\r\nlocal nightvision = false\r\n\r\nRegisterNetEvent(\"nightvision:UseNightvision\", function()\r\n    nightvision = not nightvision\r\n    QBCore.Functions.Progressbar(\"remove_gear\", \"Nightvision..\", 250, false, true, {}, {}, {}, {}, function()\r\n        if nightvision then\r\n            SetNightvision(true)\r\n            TriggerServerEvent(\"InteractSound_SV:PlayOnSource\", \"nv\", 0.25)\r\n            SetPedPropIndex(PlayerPedId(), 0, 117, 0, true)\r\n        else\r\n            SetNightvision(false)\r\n            SetPedPropIndex(PlayerPedId(), 0, 116, 0, true)\r\n        end\r\n    end)\r\nend)\r\n```<\/code><\/pre>\r\n","protected":false},"excerpt":{"rendered":"<p>Meu script de assalto a banco atualizado com progress\u00e3o. Os jogadores t\u00eam que trabalhar seu caminho dos bancos Fleeca at\u00e9 o cofre inferior do banco Pacific. Este script \u00e9 feito para uso com o MLO do banco Pacific do K4MB1 e o MLO do banco Maze do UncleJust. Depend\u00eancias como minijogos est\u00e3o inclu\u00eddas (exceto o\u00a0<a href=\"https:\/\/forum.cfx.re\/t\/paid-dimboscripts-password-hack\/4340860\">hackear senha\u00a0<span class=\"badge badge-notification clicks\" title=\"25 cliques\">25<\/span><\/a>, MLO n\u00e3o est\u00e1 inclu\u00eddo.\u00a0<strong>Ao comprar este script, voc\u00ea recebe o c\u00f3digo-fonte, sem criptografia fivem<\/strong>.Imagens est\u00e3o inclu\u00eddas e um leia-me para ajudar na instala\u00e7\u00e3o. Caracter\u00edsticas:<\/p>\n<ul>\n<li>Reinicia os bancos ap\u00f3s cada assalto (o tempo \u00e9 configur\u00e1vel)<\/li>\n<li>Policiais podem fechar banco ap\u00f3s hackear<\/li>\n<li>Registro de discord\u00e2ncia extensivo<\/li>\n<li>Suporta qb-doorlock e nui_doorlock via configura\u00e7\u00e3o<\/li>\n<li>Depura\u00e7\u00e3o Extensiva<\/li>\n<li>M\u00e9todos para converter USB&#039;s em laptops<\/li>\n<li>Os carrinhos s\u00e3o removidos quando o banco \u00e9 reiniciado<\/li>\n<li>C\u00f3digo para vis\u00e3o noturna est\u00e1 inclu\u00eddo<\/li>\n<\/ul>","protected":false},"featured_media":206751,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[2891,2899],"product_cat":[2366,2332,1820,2348,512,2907],"product_tag":[2642],"class_list":["post-42209","product","type-product","status-publish","has-post-thumbnail","product_brand-unclejust","product_brand-yespixel","product_cat-paleto-mlos","product_cat-crime-gang","product_cat-police-scripts","product_cat-nightclub-mlos","product_cat-qbcore-scripts","product_cat-qbox-scripts","product_tag-yespixel","first","instock","sale","downloadable","virtual","taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/product\/42209","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=42209"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/media\/206751"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/media?parent=42209"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/product_brand?post=42209"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/product_cat?post=42209"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/fivemx.com\/pt\/wp-json\/wp\/v2\/product_tag?post=42209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}