any time i add items to qb-core/shared/items.lua it breaks my server to the point where when you load in you black screen and won’t load in server
SHare your items.lua file
items.lua (86.0 KB)
ok here it is
I would go through items.lua and make sure you don’t forget any commas and closing brackets if you did miss any.
Example
-- Example of an item definition in items.lua
newsbmic = {
name = 'newsbmic', -- The Spawn name.
label = 'Boom Microphone', -- The items label in inventory.
weight = 1000, -- Weight would be 1.0.
type = 'item', -- Is it a weapon or item?
image = 'newsbmic.png', -- Image found in qb-inventory/html/images
unique = true, -- Can you stack the item?
useable = true, -- Can you use the item?
shouldClose = true, -- When used, should it close the UI?
combinable = nil, -- Can you combine with another item to make something?
description = 'A Useable BoomMic' -- Description of the item.
}, -- If there are any items after this item, add a comma.
i have check for that before still black screens
Please show the error in server console or f8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.