{"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-04-29T10:48:00","modified_gmt":"2025-04-29T08:48:00","slug":"qbcore-bank-robbery-system","status":"publish","type":"product","link":"https:\/\/fivemx.com\/nl\/qbcore-bank-robbery-system\/","title":{"rendered":"QBCore Bankroof Systeem"},"content":{"rendered":"\r\n<div class=\"wp-block-embed__wrapper\">\r\n<p><div class=\"video-container\"><iframe title=\"[FiveM] Lionh34rt Bank Robbery\" width=\"1170\" height=\"658\" src=\"https:\/\/www.youtube.com\/embed\/x2XXZrowYRs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen referrerpolicy=\"strict-origin-when-cross-origin\"><\/iframe><\/div><\/p>\r\n<\/div>\r\n\r\n\r\n\r\n\r\n<pre data-no-translation=\"\" class=\"wp-block-code\"><code data-no-translation=\"\">\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>Mijn bijgewerkte bankovervalscript met progressie. Spelers moeten zich opwerken van Fleeca-banken naar de kluis van de Pacific bank. Dit script is gemaakt om te gebruiken met K4MB1\u2019s Pacific bank MLO en UncleJust\u2019 Maze Bank MLO. Afhankelijkheden zoals minigames zijn inbegrepen (behalve de\u00a0<a href=\"https:\/\/forum.cfx.re\/t\/paid-dimboscripts-password-hack\/4340860\">wachtwoord hack\u00a0<span class=\"badge badge-notification clicks\" title=\"25 klikken\">25<\/span><\/a>, MLO is niet inbegrepen.\u00a0<strong>Bij aankoop van dit script ontvang je broncode, geen fivem-encryptie<\/strong>.Afbeeldingen zijn inbegrepen en een readme om te helpen met de installatie. Functies:<\/p>\n<ul>\n<li>Reset banken na elke bankoverval (tijd is configureerbaar)<\/li>\n<li>Politieagenten kunnen de bank sluiten nadat deze is gehackt<\/li>\n<li>Uitgebreide Discord-logboekregistratie<\/li>\n<li>Ondersteunt qb-doorlock en nui_doorlock via Config-instelling<\/li>\n<li>Uitgebreide foutopsporing<\/li>\n<li>Methoden om USB's om te zetten in laptops<\/li>\n<li>Trolley's worden verwijderd wanneer de bank wordt gereset<\/li>\n<li>Code voor nachtzicht is inbegrepen<\/li>\n<\/ul>","protected":false},"featured_media":158958,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[2891],"product_cat":[2332,1820,3040,512],"product_tag":[],"class_list":["post-42209","product","type-product","status-publish","has-post-thumbnail","product_brand-unclejust","product_cat-crime-gang","product_cat-police-scripts","product_cat-nopixel-scripts","product_cat-qbcore-scripts","first","instock","sale","downloadable","virtual","taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/nl\/wp-json\/wp\/v2\/product\/42209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/nl\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/fivemx.com\/nl\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/nl\/wp-json\/wp\/v2\/comments?post=42209"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/nl\/wp-json\/wp\/v2\/media\/158958"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/nl\/wp-json\/wp\/v2\/media?parent=42209"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/fivemx.com\/nl\/wp-json\/wp\/v2\/product_brand?post=42209"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/fivemx.com\/nl\/wp-json\/wp\/v2\/product_cat?post=42209"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/fivemx.com\/nl\/wp-json\/wp\/v2\/product_tag?post=42209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}