ds-electrician

Electrician Job for QBCore & ESX

View on Tebex | CFX Fourm Post | Youtube Video | Discord

Installaction

Dependencies

Start

  1. Extract ds-electrician.zip and place it into your resource folder.

  2. Install and ensure dependencies for the resource.

  3. Setupconfig.lua (⚠️see #CONFIGURATION for instructions).

  4. Addensure ds-electrician to your server start config (place it anywhere below the dependency & framework resources).

Configuration

Please go through all configurable options & settings in config.lua and configure them to your server's preferences.

Also please read the comments at the end of each line, for a brief information on what the option does.

Add Job (Optional)

Open qb-core/shared/jobs.luaand add this lines

['electrician'] = {
    label = 'Electrician',
    defaultDuty = true,
    offDutyPay = false,
    grades = {
        ['0'] = {
            name = 'Recruit',
            payment = 10
        },
    },
},

Add Items

Open qb-core/shared/items.luaand add this lines

["repairtool"] = {
    ["name"] = "repairtool",
    ["label"] = "Repair Tool",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "repairtool.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "Repair tool for Electrician"
},

["eletool"] = {
    ["name"] = "eletool",
    ["label"] = "Electrician Tools",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "repairtool.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "Tool box for Electrician"
},

Last updated