#SCRIPT ERROR for ox _lib and ox_inventory
1 messages · Page 1 of 1 (latest)
Hi, please provide your ox_inventory’s weapons.lua
And provide me the full photo of the script error
It’s informing you there’s an unexpected symbol somewhere
are you saying that is works
I’m saying it’s not working?
bc the invintory dosnt open ingame
I’m saying there’s an issue and I need you to provide more info
I can’t figure it out without the above
🙏
I need you to find the one that has errors for ox lib and ox inventory
Those aren’t errors that are causing issues for this script
Wait nvm I see it sorry
1 sec
ok
Are you able to wait a few hrs?
Or send me a photo on vsc?
Go to line 931 and send me a photo
— I’m on my phone and can’t see
Ok at line 930
You have {}
Either delete the } and ensure there’s one at the bottom of your components or put your components inside that
Then you’ll be sweet
Syntax error
ohhh
Send me a photo of those lines In 1 screenshot
So at line 945 you need to have a comma after }
If that same error keeps popping up you need to add a comma at the respective lines
the ox_inventory has this now
line 945 and line 929
Why did you put a comma at line 929??
it confuses me
I’m guessing without seeing you either forgot a } or there isn’t one properly added
but i am slowly figuring it out
I suggest watching a tutorial then
It would strongly assist you
I’m going to let you tell me what you think is wrong here
The issue is at line 2331. Let me know what you think
The first one
see you’re learning 😊
The reason why you can’t do the bottom ones is due to the fact that you’re trying to return weapons and components. If you remove those curly brackets you will get an error
So now you just need to restart the server and you should - if all goes right should be done
I’m guessing now (without seeing it fully) you need to hit enter before the return and add another }
— this process would usually be much faster but I am on my phone without vsc
it looks like this now
And add on line 2331 another }
No problem at all. If you need anything else feel free to create another support ticket or dm me if no one responds