ped.clothing

Docs

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

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

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

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