I have some problems with esx_skin and skinchanger when i try to change to job clothes

i have an esx server and i get this error when i try to change to job clothes


i even created a new esx server and i get the same issue how can i fix it

Whatever the skin local is in your script, it doesn’t get defined and that is what’s causing the issue. Provide code snippets from the files referenced in the error messages you shared.

It shows exactly where the errors are. In skinchanger/client/main.lua line 325. It shows for everything

image

If I can share my thinking with you so on line 326 LoadSkin = skin is fine nothing is wrong then I looked at 334 ApplySkin(skin) which is also fine. Now I’m thinking that Skin isn’t defined anywhere can you search for “skin” and maybe find something like skin = “whatever is here”

But wouldn it say then global nil value ‘skin’ ?

Nvm its exactly like that

image
should i sent you the code?

main.lua (17.0 KB)
here is my main.lua

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