New Global HairColor = {}
In accept appearance button of rageUI.
for k,v in pairs(HairColor) do
TriggerEvent('skin:features', k, 'haircolor', v)
end
In function updateApperance(id, selected, color)
if app.itemType == 'haircolor' then
HairColor[app.item] = {app.index, app.indextwo}
SetPedHairColor(playerPed, app.index, app.indextwo)
message.lua
hair_color = 'Hair Colour',
hair_color_desc = 'Change the Colour and Highlight of your hair!',
Sorry man, didn't have time to do a pull request as I've heavily modified a lot to suit my needs and framework, Again thank you for this release!
But here are my additions to save hair colours. I know you'll know where to find to add it and at what lines.
Please double check my spelling of Color... because I normally use 'colour'.... It has ruined me so many times within code....
skinchanger
client.lua
menu.lua
message.lua