QBCore Framework

Hello, I have the following problem.
If I want to change my outfit in the locker room, nothing happens. I always stay in my civil outfit. I’ve searched a lot. But the solution was not found anywhere

MfG

How would i convert this to QB …xPlayer.getName()…
Getting this error
SCRIPT ERROR: @OD-doorlock/server/main.lua:187: attempt to call a nil value (field ‘getName’)

2 Likes

Anyone know why qb-vehicleshop does register add-ons in the list but does not show the add-on cars when i press enter on the add-on vehicle not only doesn’t it show the vehicle it also blocks me from changing any other vehicle in the dealership. Anyone have a solution?

I have the same problem.

I tried Windows 10 21H2, Ubuntu 20.04 and Rocky 8.4 instal, which are black screens.

In this new version, the problem of 128 slots has already been fixed, which causes errors in several scripts. For example, players disappear from the radar after a few meters. Or even the error, which makes it possible to talk from one end of the map to the other, without using a telephone or radio?

You need to make sure the gameName in the vehicles.meta of that addon car is the same as the model name used for the vehicleshop and the qb-core/shared.lua

Its all the same, still isn’t working

Does anyone know where the money laundering script is for marked money?

1 Like

Take a look at traphouse

omfg i love u (no homo) xd, i spent days looking for this man

i can only craft 1 thing in the crafting bench and that is pistol extended, i went in the codes and everything seems fine no “,”'s missing or anything. anybody have a clue of what’s wrong here?

Config = {}

Config.AttachmentCrafting = {
[‘location’] = vector3(-45.26, 6389.77, 31.49),
[“items”] = {
[1] = {
name = “pistol_extendedclip”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 140,
[“steel”] = 250,
[“rubber”] = 60,
},
type = “item”,
slot = 1,
threshold = 0,
points = 1,
},
[2] = {
name = “pistol_suppressor”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 165,
[“steel”] = 285,
[“rubber”] = 75,
},
type = “item”,
slot = 2,
threshold = 10,
points = 2,
},
[3] = {
name = “smg_extendedclip”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 190,
[“steel”] = 305,
[“rubber”] = 85,
},
type = “item”,
slot = 3,
threshold = 25,
points = 3,
},
[4] = {
name = “microsmg_extendedclip”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 205,
[“steel”] = 340,
[“rubber”] = 110,
},
type = “item”,
slot = 4,
threshold = 50,
points = 4,
},
[5] = {
name = “smg_drum”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 230,
[“steel”] = 365,
[“rubber”] = 130,
},
type = “item”,
slot = 5,
threshold = 75,
points = 5,
},
[6] = {
name = “smg_scope”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 255,
[“steel”] = 390,
[“rubber”] = 145,
},
type = “item”,
slot = 6,
threshold = 100,
points = 6,
},
[7] = {
name = “assaultrifle_extendedclip”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 270,
[“steel”] = 435,
[“rubber”] = 155,
[“smg_extendedclip”] = 1,
},
type = “item”,
slot = 7,
threshold = 150,
points = 7,
},
[8] = {
name = “assaultrifle_drum”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 300,
[“steel”] = 469,
[“rubber”] = 170,
[“smg_extendedclip”] = 2,
},
type = “item”,
slot = 8,
threshold = 200,
points = 8,
},
}
}

Config.CraftingItems = {
[1] = {
name = “lockpick”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 22,
[“plastic”] = 32,
},
type = “item”,
slot = 1,
threshold = 0,
points = 1,
},
[2] = {
name = “screwdriverset”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 30,
[“plastic”] = 42,
},
type = “item”,
slot = 2,
threshold = 0,
points = 2,
},
[3] = {
name = “electronickit”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 30,
[“plastic”] = 45,
[“aluminum”] = 28,
},
type = “item”,
slot = 3,
threshold = 0,
points = 3,
},
[4] = {
name = “radioscanner”,
amount = 50,
info = {},
costs = {
[“electronickit”] = 2,
[“plastic”] = 52,
[“steel”] = 40,
},
type = “item”,
slot = 4,
threshold = 0,
points = 4,
},
[5] = {
name = “gatecrack”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 10,
[“plastic”] = 50,
[“aluminum”] = 30,
[“iron”] = 17,
[“electronickit”] = 1,
},
type = “item”,
slot = 5,
threshold = 120,
points = 5,
},
[6] = {
name = “handcuffs”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 36,
[“steel”] = 24,
[“aluminum”] = 28,
},
type = “item”,
slot = 6,
threshold = 160,
points = 6,
},
[7] = {
name = “repairkit”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 32,
[“steel”] = 43,
[“plastic”] = 61,
},
type = “item”,
slot = 7,
threshold = 200,
points = 7,
},
[8] = {
name = “pistol_ammo”,
amount = 50,
info = {},
costs = {
[“metalscrap”] = 50,
[“steel”] = 37,
[“copper”] = 26,
},
type = “item”,
slot = 8,
threshold = 250,
points = 8,
},
[9] = {
name = “ironoxide”,
amount = 50,
info = {},
costs = {
[“iron”] = 60,
[“glass”] = 30,
},
type = “item”,
slot = 9,
threshold = 300,
points = 9,
},
[10] = {
name = “aluminumoxide”,
amount = 50,
info = {},
costs = {
[“aluminum”] = 60,
[“glass”] = 30,
},
type = “item”,
slot = 10,
threshold = 300,
points = 10,
},
[11] = {
name = “armor”,
amount = 50,
info = {},
costs = {
[“iron”] = 33,
[“steel”] = 44,
[“plastic”] = 55,
[“aluminum”] = 22,
},
type = “item”,
slot = 11,
threshold = 350,
points = 11,
},
[12] = {
name = “drill”,
amount = 50,
info = {},
costs = {
[“iron”] = 50,
[“steel”] = 50,
[“screwdriverset”] = 3,
[“advancedlockpick”] = 2,
},
type = “item”,
slot = 12,
threshold = 1750,
points = 12,
},
}

points = 1
means you have to have at least 1 point (or experience) in crafting to craft this…

1 Like

I’m trying to move the clothing menu for cops and is not showing up

Anyone know how to change the blips on map?For example 24/7 shops,I can’t find where to change it

So each time you craft you will gain experience, that is what the “points = ##” is, and the threshhold = is how many experience points you need to unlock that craft item, so when you craft the pistol_extendedclip you will gain 1 point, you need 10 points to unlock the suppressor so you need to craft 10 extendedclips.

is there a fix with qb-weapons ammo that not saving?

Is it possible to use esx scripts with this. If not, is it possible to convert esx scripts to qb?

Most are easy to convert yeah

Got any suggestions on how to go about converting?

how to fix error

[ script:oxmysql] [ERROR] qb-core was unable to execute a query!
[ script:oxmysql] Incorrect string value: ‘\xE3\x83\x84’ for column ‘name’ at row 1