Ped Clothing - SwitchNetwork/fivem-wiki GitHub Wiki
Lua Example
local ped = GetPlayerPed(PlayerId())
SetPedComponentVariation(ped, 3, 96, 0, 0)
-- SetPedComponentVariation(ped, component(int), drawable(int), texture(int), pallete(int))
Component ID's
ID | Component |
---|---|
0 | Face |
1 | Mask |
2 | Hair |
3 | Upper body / torso |
4 | Lower body / legs / pants |
5 | Bag / parachute |
6 | Shoes |
7 | Neck / accessory |
8 | Undershirt |
9 | Kevlar / armor |
10 | Badge |
11 | Torso 2 / overlay |