{"id":151379,"date":"2024-08-29T14:38:30","date_gmt":"2024-08-29T12:38:30","guid":{"rendered":"https:\/\/hifivem.com\/?post_type=product&#038;p=151379"},"modified":"2025-12-24T07:29:55","modified_gmt":"2025-12-24T06:29:55","slug":"fahrzeugschlusselsystem","status":"publish","type":"product","link":"https:\/\/fivemx.com\/de\/vehicle-key-system\/","title":{"rendered":"Fahrzeugschl\u00fcsselsystem"},"content":{"rendered":"<p><iframe title=\"QB - ESX | Dusa Vehicle Keys Preview - FIVEM\" width=\"1290\" height=\"726\" src=\"https:\/\/www.youtube.com\/embed\/uLRvY_Ujt2o?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<hr \/>\n<h3>Config file<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">----------------------------------------------------------------\r\n----                   DUSADEV.TEBEX.IO                     ----\r\n----------------------------------------------------------------\r\nConfig = {}\r\n\r\n--- @param -- Check https:\/\/lesimov.gitbook.io\/dusa-docs for documentation\r\n\r\n----------------------------------------------------------------\r\n----                       FRAMEWORK                        ----\r\n----------------------------------------------------------------\r\nConfig.Framework = \"esx\" -- esx \/ oldesx\r\nConfig.CustomFramework = true\r\nfunction CustomFrameworkExport() -- Add the export here, as in the following example.\r\n    ESX = exports[\"es_extended\"]:getSharedObject()\r\nend\r\n\r\nConfig.PlayerLoadedExport = 'esx:playerLoaded'\r\n\r\n----------------------------------------------------------------\r\n----                       GENERAL                          ----\r\n----------------------------------------------------------------\r\nConfig.Progressbar = 'ox_lib' -- ox_lib \/ mythic \/ rprogress \/ progressbar \/ none\r\nConfig.LockNPCDrivingCars = true -- Lock driven NPC cars | true = locked | false = unlocked\r\nConfig.LockNPCParkedCars = true -- Lock parked NPC cars | true = locked | false = unlocked\r\n\r\nConfig.ToggleLockKey = 'L' -- Toggle lock default keybind\r\nConfig.EngineKey = 'G' -- On \/ Off engine default keybind\r\n\r\n--- @param --IMPORTANT! ESX selection is for only newest ESX versions\r\n-- if your ESX version isn't the newest one, use baseevents -&gt; Dont forget to replace your baseevents with this one https:\/\/github.com\/lesimov\/baseevents\r\nConfig.Events = 'baseevents' -- esx \/ baseevents\r\n\r\nConfig.RemoveLockpickNormal = 0.5 -- Chance to remove lockpick on fail\r\nConfig.RemoveLockpickAdvanced = 0.2 -- Chance to remove advanced lockpick on fail\r\nConfig.LockPickDoorEvent = function()\r\n    local result = exports['dusa_lockpick']:startLockpick(5) -- 5 means try chance for lockpick minigame\r\n    LockpickFinishCallback(result)\r\nend\r\n\r\n----------------------------------------------------------------\r\n----                       NOTIFICATION                     ----\r\n----------------------------------------------------------------\r\nfunction Notification(message, type)\r\n    ESX.ShowNotification(message, type)\r\n    -- exports[\"qs-notify\"]:Notify(type, 3500, message)\r\n    -- exports[\"dusa_notify\"]:notify(message, type)\r\nend\r\n\r\nfunction ServerNotification(src, message, type)\r\n    TriggerClientEvent('qs-notify:Alert', src, message, 3500, type)\r\nend\r\n\r\n--- @param -- If you set this one ox_lib, go to fxmanifest and uncomment ox_lib line!\r\nConfig.TextUI = 'ox_lib' -- drawtext \/ ox_lib\r\n\r\n----------------------------------------------------------------\r\n----                 ALERT OWNER SCENARIO                   ----\r\n----------------------------------------------------------------\r\nConfig.AlertOwner = true -- Will spawn NPC to save his own vehicle when lockpick failed\r\nConfig.AlertChance = 100 -- Alert NPC vehicle owner chance \r\nConfig.PedTypes = { -- If you want to add new NPC model, you can add from here\r\n    `a_f_m_bodybuild_01`, \r\n    `a_m_m_mexcntry_01`,\r\n    `s_m_m_hairdress_01`,\r\n    `csb_cletus`,\r\n    `csb_anton`,\r\n    `a_m_y_hipster_03`,\r\n    `a_m_m_beach_01`,\r\n}\r\n\r\n----------------------------------------------------------------\r\n----                       KEY FOB                          ----\r\n----------------------------------------------------------------\r\nConfig.EnableKeyFob = true -- Enable disable key fob\r\nConfig.FobKeybind = 'I' -- Keybind key\r\nConfig.FobDescription = 'Open Key Fob' -- Keybind desc\r\n\r\n----------------------------------------------------------------\r\n----                       HOTWIRE                          ----\r\n----------------------------------------------------------------\r\nConfig.HotwireChance = 50 -- Hotwiring chance (For hotwire minigame)\r\nConfig.TimeBetweenHotwires = 5000 -- Place a delay between hotwire attempts\r\nConfig.minHotwireTime = 1000 -- Define time in ms for min-max hotwire progressbar length\r\nConfig.maxHotwireTime = 5000\r\n\r\n----------------------------------------------------------------\r\n----                       CARJACKING                       ----\r\n----------------------------------------------------------------\r\nConfig.CarJackEnable = true -- Can players jack vehicles when a NPC inside? true or false\r\nConfig.CarjackingTime = 2500 -- Car Jack Progressbar Length\r\nConfig.DelayBetweenCarjackings = 5000 -- Place a Delay between jacking another car\r\nConfig.CarjackChance = { -- Ped will flee depends on this chances\r\n    ['2685387236'] = 0.0, -- melee\r\n    ['416676503'] = 0.99, -- handguns\r\n    ['-957766203'] = 0.99, -- SMG\r\n    ['860033945'] = 0.90, -- shotgun\r\n    ['970310034'] = 0.90, -- assault\r\n    ['1159398588'] = 0.99, -- LMG\r\n    ['3082541095'] = 0.99, -- sniper\r\n    ['2725924767'] = 0.99, -- heavy\r\n    ['1548507267'] = 0.0, -- throwable\r\n    ['4257178988'] = 0.0, -- misc\r\n}\r\n\r\n----------------------------------------------------------------\r\n----                       POLICE ALERT                     ----\r\n----------------------------------------------------------------\r\n\r\nConfig.AlertCooldown = 10000 -- Will send alert defined ms later\r\nConfig.PoliceAlertChance = 0.75 -- Chance of alerting police at daytime\r\nConfig.PoliceNightAlertChance = 0.50 -- Chance of alerting police at night (times:01-06)\r\n\r\n--- @param -- For customized dispatch, edit  AlertPolice function below here.\r\nfunction AlertPolice(type, vehicle)\r\n    if not AlertSend then\r\n        local chance = Config.PoliceAlertChance\r\n        if GetClockHours() &gt;= 1 and GetClockHours() &lt;= 6 then\r\n            chance = Config.PoliceNightAlertChance\r\n        end\r\n        if math.random() &lt;= chance then\r\n            -- Integrate your own dispatch script here\r\n            -- exports['ps-dispatch']:VehicleTheft(vehicle)\r\n            \r\n            -- Default\r\n            TriggerServerEvent('dusa_vehiclekeys:server:policeAlert', Config.Language['info'][\"palert\"] .. type)\r\n        end\r\n        AlertSend = true\r\n        SetTimeout(Config.AlertCooldown, function()\r\n            AlertSend = false\r\n        end)\r\n    end\r\nend\r\n\r\n----------------------------------------------------------------\r\n----                       JOB VEHICLES                     ----\r\n----------------------------------------------------------------\r\nConfig.SharedKeys = { -- Share keys amongst employees. Employees can lock\/unlock any job-listed vehicle\r\n    ['police'] = { -- Job name\r\n        vehicles = {\r\n        'police', -- Vehicle model\r\n        'police2',\r\n        'police3',\r\n        }\r\n    },\r\n    ['mechanic'] = {\r\n        vehicles = {\r\n            'towtruck',\r\n        }\r\n    }\r\n}\r\n\r\n----------------------------------------------------------------\r\n----                   MINOR ADJUSTMENTS                    ----\r\n----------------------------------------------------------------\r\n\r\nConfig.ImmuneVehicles = { -- Defined vehicles will be protected for car jacking (May be useful for your car heist scripts)\r\n    'hauler2',\r\n    'stockade',\r\n    'rtxbumper'\r\n}\r\n\r\nConfig.NoLockVehicles = { -- This vehicles can not be locked\r\n    --'vehiclename',\r\n    'rtxbumper'\r\n}\r\n\r\nConfig.NoCarjackWeapons = { -- Blacklist weapons for car jacking\r\n    \"WEAPON_UNARMED\",\r\n    \"WEAPON_Knife\",\r\n    \"WEAPON_Nightstick\",\r\n    \"WEAPON_HAMMER\",\r\n    \"WEAPON_Bat\",\r\n    \"WEAPON_Crowbar\",\r\n    \"WEAPON_Golfclub\",\r\n    \"WEAPON_Bottle\",\r\n    \"WEAPON_Dagger\",\r\n    \"WEAPON_Hatchet\",\r\n    \"WEAPON_KnuckleDuster\",\r\n    \"WEAPON_Machete\",\r\n    \"WEAPON_Flashlight\",\r\n    \"WEAPON_SwitchBlade\",\r\n    \"WEAPON_Poolcue\",\r\n    \"WEAPON_Wrench\",\r\n    \"WEAPON_Battleaxe\",\r\n    \"WEAPON_Grenade\",\r\n    \"WEAPON_StickyBomb\",\r\n    \"WEAPON_ProximityMine\",\r\n    \"WEAPON_BZGas\",\r\n    \"WEAPON_Molotov\",\r\n    \"WEAPON_FireExtinguisher\",\r\n    \"WEAPON_PetrolCan\",\r\n    \"WEAPON_Flare\",\r\n    \"WEAPON_Ball\",\r\n    \"WEAPON_Snowball\",\r\n    \"WEAPON_SmokeGrenade\",\r\n}\r\n\r\n----------------------------------------------------------------\r\n----                       TRANSLATION                      ----\r\n----------------------------------------------------------------\r\nConfig.Language = {\r\n    ['notify'] = {\r\n        ydhk = 'You don\\'t have keys to this vehicle.',\r\n        nonear = 'There is nobody nearby to hand keys to',\r\n        vlock = 'Vehicle locked!',\r\n        vunlock = 'Vehicle unlocked!',\r\n        vlockpick = 'You managed to pick the door lock open!',\r\n        fvlockpick = 'You fail to find the keys and get frustrated.',\r\n        vgkeys = 'You hand over the keys.',\r\n        vgetkeys = 'You get keys to the vehicle!',\r\n        fpid = 'Fill out the player ID and Plate arguments',\r\n        cjackfail = 'Carjacking failed!',\r\n        vehclose = 'There\\'s no close vehicle!',\r\n        alertowner = 'Leave my car you idiot!',\r\n        removedkey = 'Key removed successfully!',\r\n        idnotvalid = 'The ID you defined is not valid!',\r\n    },\r\n    ['progress'] = {\r\n        takekeys = 'Taking keys from body...',\r\n        hskeys = 'Searching for the car keys...',\r\n        acjack = 'Attempting Carjacking...',\r\n        stelingkeys = 'Stealing Keys..',\r\n        hotwiring = 'Hotwiring..',\r\n    },\r\n    ['info'] = {\r\n        skeys = '[H] - Hotwire',\r\n        tlock = 'Toggle Vehicle Locks',\r\n        palert = 'Vehicle theft in progress. Type: ',\r\n        engine = 'Toggle Engine',\r\n    },\r\n    ['addcom'] = {\r\n        givekeys = 'Hand over the keys to someone. If no ID, gives to closest person or everyone in the vehicle.',\r\n        givekeys_id = 'id',\r\n        givekeys_id_help = 'Player ID',\r\n        addkeys = 'Adds keys to a vehicle for someone.',\r\n        addkeys_id = 'id',\r\n        addkeys_id_help = 'Player ID',\r\n        addkeys_plate = 'plate',\r\n        addkeys_plate_help = 'Plate',\r\n        rkeys = 'Remove keys to a vehicle for someone.',\r\n        rkeys_id = 'id',\r\n        rkeys_id_help = 'Player ID',\r\n        rkeys_plate = 'plate',\r\n        rkeys_plate_help = 'Plate',\r\n    }\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p><strong>Fortschrittliches FiveM-Fahrzeugschl\u00fcsselsystem <\/strong>| Unterst\u00fctzte Frameworks: ESX, QBCore<\/p>\n<p><strong>Hauptmerkmale:<\/strong><\/p>\n<ul>\n<li>\ud83d\udd12 <strong>Synchronisierte Fahrzeugschl\u00f6sser<\/strong>: Fahrzeugsperren werden f\u00fcr ein einheitliches Erlebnis bei allen Spielern synchronisiert.<\/li>\n<li>\ud83d\udcf1 <strong>Dynamische Schl\u00fcsselanh\u00e4nger-Funktionalit\u00e4t<\/strong>: Die Funktionsweise der Schl\u00fcsselanh\u00e4nger ist je nach Fahrzeugtyp unterschiedlich.<\/li>\n<li>\ud83d\udd27 <strong>Neues Dietrich-Minispiel<\/strong>: Nehmen Sie an einer brandneuen Herausforderung zum Schl\u00f6sserknacken teil, um Fahrzeuge zu \u00f6ffnen.<\/li>\n<li>\u26a1 <strong>Realistisches Hotwire-Minispiel<\/strong>: Erleben Sie mit diesem immersiven Minispiel einen lebensechten Kurzschlussvorgang.<\/li>\n<li>\ud83d\udea8 <strong>Besitzer-Alarmsystem<\/strong>: Benachrichtigt Fahrzeugbesitzer, wenn ein Kurzschlussversuch fehlschl\u00e4gt.<\/li>\n<li>\ud83d\ude97 <strong>Car-Jacking-Funktion<\/strong>: F\u00fcgt Ihrem Gameplay realistische Carjacking-Szenarien hinzu.<\/li>\n<li>\u23f1\ufe0f <strong>Optimierte Leistung<\/strong>: L\u00e4uft f\u00fcr maximale Effizienz immer mit 0,0 ms.<\/li>\n<\/ul>","protected":false},"featured_media":151380,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[],"product_cat":[512,96,2868,2907,511],"product_tag":[],"class_list":["post-151379","product","type-product","status-publish","has-post-thumbnail","product_cat-qbcore-scripts","product_cat-esx-scripts","product_cat-fivem-mechanic-jobs","product_cat-qbox-scripts","product_cat-standalone-scripts","first","instock","sale","downloadable","virtual","taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/product\/151379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/comments?post=151379"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/media\/151380"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/media?parent=151379"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/product_brand?post=151379"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/product_cat?post=151379"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/product_tag?post=151379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}