Hello, i have two ssues… when I start my FiveM server it gives several main.lua errors and I don’t know how to solve it, I ask for help please. Here’s one (Creating script environments for esx_skin
Error loading script server / main.lua in resource esx_skin: @ esx_skin / server / main.lua: 31: attempt to index a nil value (global ‘ESX’)
traceback stack:
@ esx_skin / server / main.lua: 31: in main chunk
Failed to load script server / main.lua.)
Another issue, i can’t change esx_identity hud, i put local guiEnabled = false and doesn’t work
Your error says that you don’t have ESX in esx_skin/server/main.lua. The only way to solve your error is to try to follow installation instructions once again, otherwise you should be much more experienced to solve this issue.
As far as I see from your screenshot, you are trying to use ESX 2.0, which is in early stage of development and it not recommended to use if you are not familiar with scripts development.