ped.clothing

Docs

Not sure where to start? The outfit builder lets you pick items visually and copies out the exact code below for you — useful for grabbing a few snippets fast without reading the URL scheme at all.

URL scheme

https://cdn.ped.clothing/v1/{gender}/{category}/{drawable}/{texture}.webp

Example: https://cdn.ped.clothing/v1/male/tops/15/0.webp

Categories

SlugKindNative ID
maskscomponent1
haircomponent2
torsoscomponent3
legscomponent4
bagscomponent5
shoescomponent6
accessoriescomponent7
undershirtscomponent8
armorcomponent9
decalscomponent10
topscomponent11
hatsprop0
glassesprop1
earsprop2
watchesprop6
braceletsprop7
blemishesoverlay0
facial-hairoverlay1
eyebrowsoverlay2
ageingoverlay3
makeupoverlay4
blushoverlay5
complexionoverlay6
sun-damageoverlay7
lipstickoverlay8
molesoverlay9
chest-hairoverlay10
body-blemishesoverlay11

Using it in a clothing menu

Lua, applying a component variation:

SetPedComponentVariation(ped, 11, 245, 0, 0) -- tops, drawable 245, texture 0

Lua, applying a prop:

SetPedPropIndex(ped, 0, 12, 0, true) -- hats, drawable 12, texture 0

Lua, applying a head overlay (makeup, blemishes, etc.) — these use opacity instead of a texture index; every preview is rendered at full opacity for now:

SetPedHeadOverlay(ped, 4, 23, 1.0) -- makeup, style 23, full opacity

NUI / JS, fetching a preview image for a menu tile:

const url = `https://cdn.ped.clothing/v1/male/tops/${drawable}/${texture}.webp`;