Jump to content

[C# client] Can't change ped hair color


Recommended Posts

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 by galzzy83
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...