Helló!
Adott ez a kód:
stock ErvenesSkinVRuha(skinid)
{
switch(skinid)
{
case 3, 4, 5, 6, 8, 42, 65, 74, 86, 119, 149, 208, 273, 289: return 0;
}
if(skinid >= 300) return 0;
return 1;
}
Ebben hogyan tudnám megcsinálni azt, hogyha a játékos neme Férfi, akkor tiltsa a nõi skineket, és ha Nõ, akkor tiltsa a férfi skineket?
new Peds[166][1] = {
{1}, //1
{10},{12},{14},{15},{16},{18},{19}, //8
{21},{22},{23},{24},{26},{27},{28}, //7
{31},{32},{34},{35},{36},{37},{38},{39}, //8
{40},{41},{43},{44},{45},{48},{49}, //8
{51},{52},{53},{54},{55},{56},{58}, //7
{62},{63},{64},{66},{67},{68}, //6
{72},{75},{76},{77},{78},{79}, //6
{80},{81},{82},{83},{84},{85},{87},{88},{89}, //8
{90},{92},{94},{95},{96},{97},{99}, //7
{100},{101}, //2
{128},{129}, //2
{130},{131},{132},{133},{134},{135},{136},{137},{138},{139}, //10
{140},{143},{144},{145},{146}, //5
{151},{152},{153},{154},{155},{156},{157},{158},{159}, //9
{160},{161},{162},{167},{168},{169}, //6
{170},{176},{178}, //3
{180},{181},{182},{183},{186}, //5
{190},{192},{194},{196},{197},{199}, //6
{200},{201},{203},{204},{205},{206},{207},{209}, //8
{211},{212},{213},{214},{215},{218},{219}, //7
{220},{221},{225},{227}, //3
{230},{231},{232},{234},{235},{236},{237},{238},{239}, //9
{243},{244},{245},{246},{247},{248},{249}, //7
{250},{251},{252},{254},{256},{257},{258},{259}, //8
{260},{261},{262},{263},{264},{268}, //5
{290},{291},{297},{298} //4
};
new Ferfiskinek[103][1] = {
{1}, //1
{14},{15},{16},{18},{19}, //5
{21},{22},{23},{24},{26},{27},{28}, //7
{32},{34},{35},{36},{37}, //5
{43},{44},{45},{49}, //5
{51},{52},{58}, //3
{60},{62},{66},{67},{68}, //5
{72},{78},{79}, //5
{80},{81},{82},{83},{84}, //5
{94},{95},{96},{97}, //4
{100},{101},//1
{128},//2
{132},{133},{134},{135},{136},{137}, //6
{143},{144},{146}, //3
{153},{154},{155},{156},{158},{159}, //6
{160},{162},{167},{168}, //4
{170},{176},{179}, //3
{180},{181},{182},{183},{186}, //5
{200},{202},{203},{204},{206},{209}, //6
{212},{213}, //2
{220},{221},{227}, //3
{230},{234},{235},{236},{239}, //5
{247},{248},{249}, //3
{250},{252},{254},{258},{259}, //5
{260},{261},{263},{264},{268}, //4
{291},{297} //3
};
new NoiSkinek[64][1] = {
{10},{12}, //2
{31},{38},{39}, //3
{40},{41}, //2
{53},{54},{55},{56}, //4
{63},{64}, //2
{75},{76},{77}, //3
{87},{88},{89}, //3
{90},{92}, //2
{129}, //1
{130},{131},{138},{139}, //4
{140},{145}, //2
{151},{152},{157}, //3
{169}, //1
{178}, //1
{190},{192},{194},{196},{197},{198},{199}, //7
{201},{205},{207}, //3
{211},{214},{215},{218},{219}, //5
{224},{225},{226}, //3
{231},{232},{237},{238}, //4
{243},{244},{245},{246}, //4
{251},{256},{257}, //3
{263}, //1
{298} //1
};