You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.
It seems that I'm getting nil values with both player_data.overlays.colours[i+1].colourType and player_data.overlays.colours[i+1].colour, which is causing the error with SetPedHeadOverlayColor. Any ideas what's happening there?
This is what I have for each of my player models in the data: "overlays":{"colours":[null,{"colour":29,"colourType":1}]
Here's what I've found: the value for overlays doesn't seem to be coming in causing a nil value, which causes an issue with SetPedHeadOverlayColor (line 537 in the client.lua in fsn_clothing). The nil value knocks you out of the client.lua file completely. If I remark it out, everything loads, but my facial hair is the first color in the list - a greenish color it seems.
The text was updated successfully, but these errors were encountered:
Ok. I believe i have fixed this issue just doing a little more testing to see if it sticks. I have the error gone. I do not have any nulls in the db under clothing and my hair eyebrow and facial hair are all sticking including the color. I have relogged a few times and my face is also sticking
Will send you a copy of what i have for you to test and if all goes well then i will push an update with the fix.
could you send me this version that is working for you to do some tests here too? I'm working hard on the base and recreating the entire character creation interface, and I have the same problem with the face / hair / makeup not saving.
https://cdn.discordapp.com/attachments/697129597661085748/699447738919813150/unknown.png
It seems that I'm getting nil values with both player_data.overlays.colours[i+1].colourType and player_data.overlays.colours[i+1].colour, which is causing the error with SetPedHeadOverlayColor. Any ideas what's happening there?
This is what I have for each of my player models in the data: "overlays":{"colours":[null,{"colour":29,"colourType":1}]
Here's what I've found: the value for overlays doesn't seem to be coming in causing a nil value, which causes an issue with SetPedHeadOverlayColor (line 537 in the client.lua in fsn_clothing). The nil value knocks you out of the client.lua file completely. If I remark it out, everything loads, but my facial hair is the first color in the list - a greenish color it seems.
The text was updated successfully, but these errors were encountered: