Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function UpdateClothes(data)
SetPedComponentVariation(playerPed, 8, currentChar.tshirt_1, currentChar.tshirt_2, 2)
SetPedComponentVariation(playerPed, 11, currentChar.torso_1, currentChar.torso_2, 2)
SetPedComponentVariation(playerPed, 10, currentChar.decals_1, currentChar.decals_2, 2)
SetPedComponentVariation(playerPed, 3, currentChar.arms, currentChar.arms_2, 2)
SetPedComponentVariation(playerPed, 3, currentChar.arms, currentChar.arms_2, 2)
SetPedComponentVariation(playerPed, 4, currentChar.pants_1, currentChar.pants_2, 2)
SetPedComponentVariation(playerPed, 6, currentChar.shoes_1, currentChar.shoes_2, 2)
SetPedComponentVariation(playerPed, 1, currentChar.mask_1, currentChar.mask_2, 2)
Expand Down Expand Up @@ -1271,6 +1271,7 @@ function GetClothesData()
hats = {},
ears = {},
glasses = {},
arms = {},
lefthands = {},
righthands = {},
}
Expand All @@ -1282,6 +1283,7 @@ function GetClothesData()
-- result.bags = GetComponentsData(5) -- there seems to be no named components in this category
result.masks = GetComponentsData(1)
result.neckarms = GetComponentsData(7) -- chains/ties/suspenders/bangles
result.arms = GetComponentsData(3)

result.hats = GetPropsData(0)
result.ears = GetPropsData(2)
Expand Down Expand Up @@ -1529,7 +1531,7 @@ function ApplySkinToPed(ped, skin)
-- Clothing and Accessories
SetPedComponentVariation(ped, 8, skin.tshirt_1, skin.tshirt_2, 2) -- Undershirts
SetPedComponentVariation(ped, 11, skin.torso_1, skin.torso_2, 2) -- Jackets
SetPedComponentVariation(ped, 3, skin.arms, skin.arms_2, 2) -- Torsos
SetPedComponentVariation(ped, 3, skin.arms, skin.arms_2, 2) -- Torsos
SetPedComponentVariation(ped, 10, skin.decals_1, skin.decals_2, 2) -- Decals
SetPedComponentVariation(ped, 4, skin.pants_1, skin.pants_2, 2) -- Legs
SetPedComponentVariation(ped, 6, skin.shoes_1, skin.shoes_2, 2) -- Shoes
Expand Down