Skip to main content

Installation

Installation

  • Download the resource from your Keymaster.
  • Unpack the resource nyam_vehiclekeys into your desired resources location.
  • If using ESX execute the SQL depnds on your needs
  • Inventories

  • Usefull Images available at nyam_vehiclekeys/guides/images
  • Open JS script at qb-inventory/html/js/app.js
  • Search for else if (itemData.name == "stickynote")
  • Add this above.
    } else if (itemData.name == "keys") { // "keys" should be same name as Config.ItemName
    $(".item-info-title").html('<p>'+itemData.label+'</p>')
    $(".item-info-description").html('<p><strong>Vehicle Name: </strong><span>' + itemData.info.vehiclename + '</span></p><p><strong>Vehicle Plate: </strong><span>' + itemData.info.vehicleplate +'</span><p>')
    It should be something like that.
    } else if (itemData.name == "keys") { // "keys" should be same name as Config.ItemName
    $(".item-info-title").html('<p>'+itemData.label+'</p>')
    $(".item-info-description").html('<p><strong>Vehicle Name: </strong><span>' + itemData.info.vehiclename + '</span></p><p><strong>Vehicle Plate: </strong><span>' + itemData.info.vehicleplate +'</span><p>');
    } else if (itemData.name == "stickynote") {
    $(".item-info-title").html('<p>'+itemData.label+'</p>')
    $(".item-info-description").html('<p>'+ itemData.info.label + '</p>');
  • Items for QB Core
  • qb_core/shared/items.lua.
        ["keys"] = {
    ["name"] = "keys",
    ["label"] = "Vehicle Key",
    ["weight"] = 0,
    ["decay"] = 0.0,
    ["type"] = "item",
    ["image"] = "keys.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "A vehicle key, probably no immobilizer sett."
    },
    ["vehiclelocksystem"] = {
    ["name"] = "vehiclelocksystem",
    ["label"] = "Lock System Kit",
    ["weight"] = 150,
    ["decay"] = 0.0,
    ["type"] = "item",
    ["image"] = "vehiclelocksystem.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "With this kit you can fix or repair a vehicle-s locksystem, diemn boi..."
    },
  • Start the resource on your server.cfg file.
  • server.cfg
    ensure n_easysit

    Social Media

    Youtube Discord 'Discord') Tebex Store CFX