Qb core weapon attachment issue

for context i added an addon weapon and addon attachments and im trying to get the addon attachment to work as an item like other attachment items but im getting thrown this error when i use the item even tho i have the weapon registered along with the attachments on all the right files


something about line 177 in qb-weapons/client/main.lua
WeaponData.name = WeaponData.name:upper()
but i repeat i have everything registered correctly along with events

1 Like

The error is here

local WeaponData = QBCore.Shared.Weapons[weapon]

You don’t have the weapon properly added to the shared

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.