The component ID list in RageEnums.ClothesComponent differs from the official RAGE:MP documentation.
Docs: https://wiki.rage.mp/wiki/Clothes
Code: https://github.com/ragempcommunity/ragemp-types/blob/ab3a463219957fd928d0d61de534c55c0e632745/packages/server/enums.d.ts
Because of this mismatch, component IDs behave unexpectedly.
For example, when using an ID that is assumed to be a mask component based on the enum, a different clothing part (e.g. decals) is applied instead.
Official component IDs:
0 Head
1 Masks
2 Hair Styles
3 Torsos
4 Legs
5 Bags and Parachutes
6 Shoes
7 Accessories
8 Undershirts
9 Body Armors
10 Decals
11 Tops
The enum should match the official component ID list to avoid confusion and incorrect behavior.
The component ID list in
RageEnums.ClothesComponentdiffers from the official RAGE:MP documentation.Docs: https://wiki.rage.mp/wiki/Clothes
Code: https://github.com/ragempcommunity/ragemp-types/blob/ab3a463219957fd928d0d61de534c55c0e632745/packages/server/enums.d.ts
Because of this mismatch, component IDs behave unexpectedly.
For example, when using an ID that is assumed to be a mask component based on the enum, a different clothing part (e.g. decals) is applied instead.
Official component IDs:
The enum should match the official component ID list to avoid confusion and incorrect behavior.