hello, i made new police ranks to my database and they work in my server, now when i changed officer ranks etc to my own language but in server i can’t open vehicle menu or armor menu. Console says "SCRIPT ERROR: @esx_policejob/client/main.lua:1228: attempt to index a nil value (global ‘config’) and same thing to main.lua:154 (sorry for bad english and if this is in wrong place posted!)
Hello! Without knowing full details, whilst yes the red shows the script error, that is just as a consequence of the lines above it.
So your file esx_policejob/config.lua has a syntax error, you are missing a closing or opening brace { } . I can’t tell you the exact fix without seeing that config file.
If this is enough info to help you fix it, hope it helped. If not throw the config file in here as a snippet and I can take a look ![]()
