Installation Guide
Step 1: Add Items to Inventory
qb-core/shared/items.lua
["printer"] = {["name"] = "printer", ["label"] = "Printer", ["weight"] = 190, ["type"] = "item", ["image"] = "printer.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["laptop"] = {["name"] = "laptop", ["label"] = "Laptop", ["weight"] = 100, ["type"] = "item", ["image"] = "laptop.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["skimmer"] = {["name"] = "skimmer", ["label"] = "Skimmer", ["weight"] = 100, ["type"] = "item", ["image"] = "skimmer.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["infousb"] = {["name"] = "infousb", ["label"] = "Information USB", ["weight"] = 100, ["type"] = "item", ["image"] = "infousb.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["blankcard"] = {["name"] = "blankcard", ["label"] = "Blank Card", ["weight"] = 100, ["type"] = "item", ["image"] = "blankcard.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["scamcard"] = {["name"] = "scamcard", ["label"] = "Scam Card", ["weight"] = 100, ["type"] = "item", ["image"] = "scamcard.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["blankcheque"] = {["name"] = "blankcheque", ["label"] = "Blank Cheque Paper", ["weight"] = 100, ["type"] = "item", ["image"] = "blankpaper.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["scamcheque"] = {["name"] = "scamcheque", ["label"] = "Scam Cheque", ["weight"] = 100, ["type"] = "item", ["image"] = "scamcheque.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["generator"] = {["name"] = "generator", ["label"] = "Generator", ["weight"] = 100, ["type"] = "item", ["image"] = "generator.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["vpn"] = {["name"] = "vpn", ["label"] = "VPN", ["weight"] = 100, ["type"] = "item", ["image"] = "vpn.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
ox_inventory/data/items.lua
["printer"] = { label = "Printer", weight = 190, stack = true, close = false, description = "", client = { image = "printer.png" } },
["laptop"] = { label = "Laptop", weight = 100, stack = true, close = false, description = "", client = { image = "laptop.png" } },
["skimmer"] = { label = "Skimmer", weight = 100, stack = true, close = false, description = "", client = { image = "skimmer.png" } },
["infousb"] = { label = "Information USB", weight = 100, stack = true, close = false, description = "", client = { image = "infousb.png" } },
["blankcard"] = { label = "Blank Card", weight = 100, stack = true, close = false, description = "", client = { image = "blankcard.png" } },
["scamcard"] = { label = "Scam Card", weight = 100, stack = false, close = false, description = "", client = { image = "scamcard.png" } },
["blankcheque"] = { label = "Blank Cheque Paper", weight = 100, stack = true, close = false, description = "", client = { image = "blankpaper.png" } },
["scamcheque"] = { label = "Scam Cheque", weight = 100, stack = false, close = false, description = "", client = { image = "scamcheque.png" } },
["generator"] = { label = "Generator", weight = 100, stack = true, close = false, description = "", client = { image = "generator.png" } },
["vpn"] = { label = "VPN", weight = 100, stack = true, close = false, description = "", client = { image = "vpn.png" } },
["jerry_can"] = { label = "Jerry Can", weight = 100, stack = true, close = false, description = "", client = { image = "jerry_can.png" } },
Step 2: Add Metadata To the Core
qb-core/server/player.lua
PlayerData.metadata['fraudSkill'] = PlayerData.metadata['fraudSkill'] or {
['level'] = 1,
['exp'] = 0
}
qb-core/shared/config.lua
fraudSkill = {
level = 1,
exp = 0
},
qbx_core/server/player.lua
playerData.metadata.fraudSkill = playerData.metadata.fraudSkill or {
level = 1,
exp = 0
}
You Dont have to Change Or Any Thing for ESX its Pre Configured in the Script
Step 3: Add Images
Import the pictures from the [images]
folder into your inventory/html/images
directory.
Step 4: Ensure Dependencies
Ensure you have the following dependencies installed:
Step 5: Test Installation
Start your server and verify that the Script works as intended.
Test the inventory items and their functionality.
Last updated