Skip to content

Reference / Clothing component IDs

Freemode clothing component IDs.

The freemode peds (mp_m_freemode_01 and mp_f_freemode_01) wear clothing in 12 component slots and 8 prop anchors. These are the IDs SetPedComponentVariation and SetPedPropIndex take, and the tokens addon clothing files are named with.

Download: JSON · CSV

Last updated

Components 0 to 11.

SetPedComponentVariation(ped, componentId, drawableId, textureId, paletteId)

IDNameFile tokenHolds
0HeadheadThe face mesh.
1MasksberdMasks, and beards on story peds.
2HairhairHairstyles.
3Arms (torso)upprArms and hands. Pick the one that matches the top.
4LegslowrPants, shorts and skirts.
5Bags and parachuteshandBags, backpacks and parachutes.
6ShoesfeetShoes and boots.
7AccessoriesteefNeck items such as chains, ties and scarves.
8UndershirtsaccsShirts worn under a top.
9Body armortaskVests and armor.
10DecalsdeclBadges, logos and numbers.
11TopsjbibJackets, shirts and tops.

Prop anchors 0 to 7.

SetPedPropIndex(ped, anchorId, drawableId, textureId, attach) and ClearPedProp(ped, anchorId)

IDNameFile tokenHoldsFreemode props
0Hatsp_headHats, caps and helmets.Yes
1Glassesp_eyesGlasses and goggles.Yes
2Earsp_earsEarrings and earpieces.Yes
3Mouthp_mouthMouth props.None shipped
4Left handp_lhandLeft hand props.None shipped
5Right handp_rhandRight hand props.None shipped
6Watchesp_lwristWatches, on the left wrist.Yes
7Braceletsp_rwristBracelets, on the right wrist.Yes

Questions.

What is component 11 in FiveM?
Component 11 is tops (jbib): jackets, shirts and tops. Component 8 is the undershirt worn under it, and component 3 is the arms that have to match the top.
What is the difference between a component and a prop?
Components (0 to 11) are part of the ped's body mesh and are set with SetPedComponentVariation. Props (anchors 0 to 7) are separate models attached to a bone, such as hats and glasses, and are set with SetPedPropIndex and removed with ClearPedProp.
Which prop anchors do the freemode peds use?
Hats (0), glasses (1), ears (2), watches (6) and bracelets (7). Anchors 3, 4 and 5 exist in the game but the freemode peds ship no props on them.
How do clothing file names map to components?
Each addon drawable's file name carries the slot token: jbib_000_u.ydd is drawable 0 of tops, and its textures are jbib_diff_000_a_uni.ytd, jbib_diff_000_b_uni.ytd and so on. Props start with p_, such as p_head_000.ydd.