galzzy83 Posted July 13, 2021 Posted July 13, 2021 (edited) Hi, i'm working on a character creator, and whenever I change my hair color value on my UI, I see it in my game console, but the color never changes... Here's the code: private void ChangePedHair(object[] args) { myPed.SetComponentVariation(2, (int)args[0], 0, 2); myPed.SetHairColor((int)args[1], 0); } My args[0] is my hair style which changes correctly and my args[1] is my hair color that i change from my UI. Thank you Edited July 13, 2021 by galzzy83
TheOnlyDroid Posted July 16, 2021 Posted July 16, 2021 (edited) player.SetCustomization( (is male / true:false) , HeadBlend, (int) EyeColor, (int) HairColor, (int) HairHighlightColor, FaceFeatures, HeadOverlay, new Decoration[0]); Edited July 16, 2021 by TheOnlyDroid
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now