Hi there, i want to add EUP clothes to the Policejob wardrobe. Can I do that?
esx_policejob wear:
if data.current.value == 'lieutenant_wear' and PlayerData.job.grade_name == 'lieutenant' then --Ajout de tenue par grades
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)
if skin.sex == 0 then
SetPedComponentVariation(GetPlayerPed(-1), 4, 35, 0, 0)--Jean
SetPedComponentVariation(GetPlayerPed(-1), 6, 24, 0, 0)--Chaussure
SetPedComponentVariation(GetPlayerPed(-1), 8, 58, 0, 0)--mattraque
SetPedComponentVariation(GetPlayerPed(-1), 11, 55, 0, 0)--Veste
SetPedComponentVariation(GetPlayerPed(-1), 10, 8, 3, 0)--Grade
SetPedPropIndex(GetPlayerPed(-1), 2, 2, 0, 1)--Oreillete
SetPedPropIndex(GetPlayerPed(-1), 6, 3, 0, 1)--Montre
SetPedPropIndex(GetPlayerPed(-1), 1, 18, 2, 1)--Lunette
else
TriggerEvent('skinchanger:loadClothes', skin, jobSkin.skin_female)
end
end)
end
eup-ui wear:
['Male BCSO Uniform (Long Sleeve)'] = {
category = 'BCSO',
ped = 'mp_m_freemode_01',
props = {
{ 0, 14, 2 },
{ 1, 0, 0 },
{ 2, 0, 0 },
{ 3, 0, 0 },
},
components = {
{ 1, 1, 1 },
{ 3, 5, 1 },
{ 4, 26, 1 },
{ 5, 49, 1 },
{ 6, 52, 1 },
{ 7, 9, 1 },
{ 8, 39, 1 },
{ 9, 15, 1 },
{ 10, 1, 1 },
{ 11, 25, 1 },
},
},