void SET_PED_COMPONENT_VARIATION(Ped ped, int componentId, int drawableId, int textureId, int paletteId);
This native is used to set component variation on a ped. Components, drawables and textures IDs are related to the ped model.
MP Freemode list of components
0: Face
1: Mask
2: Hair
3: Torso
4: Leg
5: Parachute / bag
6: Shoes
7: Accessory
8: Undershirt
9: Kevlar
10: Badge
11: Torso 2
List of Component IDs
enum ePedVarComp
{
PV_COMP_INVALID = 0xFFFFFFFF,
PV_COMP_HEAD = 0,
PV_COMP_BERD = 1,
PV_COMP_HAIR = 2,
PV_COMP_UPPR = 3,
PV_COMP_LOWR = 4,
PV_COMP_HAND = 5,
PV_COMP_FEET = 6,
PV_COMP_TEEF = 7,
PV_COMP_ACCS = 8,
PV_COMP_TASK = 9,
PV_COMP_DECL = 10,
PV_COMP_JBIB = 11,
PV_COMP_MAX = 12,
};