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

Создание перса вопрос

center

Новый участник
11 Июн 2022
12
0
36
Парни подскажите, что поправить, чтоб не лысый перс был при создании до настройки ,а рандомный, это тут?

mp.events.add('characterGender', (param) => {
gender = (param == "Male") ? true : false;
if (gender) {
localplayer.model = mp.game.joaat('mp_m_freemode_01');

outClothes = 1;
pants = 0;
shoes = 1;
}
else {
localplayer.model = mp.game.joaat('mp_f_freemode_01');

outClothes = 5;
pants = 0;
shoes = 3;
}

appearance[1] = 255;

updateCharacterParents();
updateAppearance();
updateCharacterHairAndColors();
updateClothes();
for (var i = 0; i < 20; i++) localplayer.setFaceFeature(i, features);
});