line of code im having issues with
qb-core/shared/main line 208
-- AMMO
for ammoItem, properties in pairs(Config.AmmoTypes) do
QBCore.Functions.CreateUseableItem(ammoItem, function(source, item)
TriggerClientEvent('qb-weapons:client:AddAmmo', source, properties.ammoType, properties.amount, item)
end)
end
error code -- script:qb-weapons] SCRIPT ERROR: @qb-weapons/server/main.lua:208: attempt to index a nil value (global 'Config')
issue im having no guns are taking ammo ive tried googling the problem theres nothing showing support for this and its a default code from qbcore so idk why its bugging