HELP! Cannot Reload Weapons qb_weapons

Can someone please help me understand. When going to reload a weapon the following error code comes up in the console

SCRIPT ERROR: @qb-weapons/client/main.lua:85: attempt to index a nil value (global 'Config')

I have looked at the script over and over and I cannot find anything wrong. We have also tried uploading a fresh version of the script with no edits and nothing is working.

This is what I’m seeing in line 85 and before and after.

Your config can´t be read and is not declared. Have you any syntax errors regarding the config at the start ?

I did not get any syntax errors. Just found a fix 30 seconds before you replied. Ended up scrapping the entire resource and re installing the original file. Turns out someone else tried to implement a weapons pack and screwed it up in the process…

1 Like

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