This is a mobile optimized page that loads fast, if you want to load the real page, click this text.

Вопрос dell

LIAS1N

Активный участник
9 Окт 2021
146
25
95
А именно не выдает на 8 слот 151 id одежды, мод редага
 
Реакции: Denver1121

toolty

Участник портала
23 Апр 2022
195
24
78
C#:
if (gender)
{
    ClothesComponents.SetSpecialClothes(player, 4, 94, 0);
    ClothesComponents.SetSpecialClothes(player, 6, 67, 0);
    ClothesComponents.SetSpecialClothes(player, 8, 151, 0);
    ClothesComponents.SetSpecialClothes(player, 11, 243, 0);

    // Добавляем баллон с кислородом
    player.SetComponentVariation(11, 0, 0, 0); // SCUBA_TANK = 11, текстура "Tanktop 1" = 0
}
else
{
    ClothesComponents.SetSpecialClothes(player, 4, 97, 0);
    ClothesComponents.SetSpecialClothes(player, 6, 70, 0);
    ClothesComponents.SetSpecialClothes(player, 8, 187, 0);
    ClothesComponents.SetSpecialClothes(player, 11, 251, 0);

    // Добавляем баллон с кислородом
    player.SetComponentVariation(11, 0, 0, 0); // SCUBA_TANK = 11, текстура "Tanktop 1" = 0
}
Нужно проверить, что выбранная текстура для баллона с кислородом доступна для выбранного компонента.