Hi i seem to be stuck. ive tried to find the right number for bproof and bags to remove it and add it to your ped. but the numbers seems to be wrong and cant find it. anyone have an idee how or what the correct code might be? thanks in advance.
Lua code snip
if data.current.value == 'no' then
local player = GetPlayerPed(-1)
TriggerEvent('esx_skin:getLastSkin', function(skin)
TriggerEvent('skinchanger:loadSkin', skin)
end)
if accessory == "Ears" then
ClearPedProp(player, 2)
elseif accessory == "Mask" then
SetPedComponentVariation(player, 1, 0 ,0 ,2)
elseif accessory == "Bags" then
-> ? SetPedComponentVariation(player, 0, 0 ,0 ,0) ?
elseif accessory == "Vest" then
-> ? SetPedComponentVariation(player, 0, 0 ,0 ,0) ?
elseif accessory == "Helmet" then
ClearPedProp(player, -0)
elseif accessory == "Glasses" then
SetPedPropIndex(player, 1, -1, 0, 0)
end
end