Ich wollte das die Skin Auswahl etwas Ordentlich gemacht sollte und habe es mal so versucht.
new Peds[213][1] = {//mach
{22},
{113},{120},{147},{294},{227},{61},{171},
{247},//CIVILIANS DOWN HERE
{248},{100},{256},{263},{262},{261},{260},{259},{258},{257},{256},{255},
{253},{252},{251},{249},{246},{245},{244},{243},{242},{241},{240},{239},
{238},{237},{236},{235},{234},{233},{232},{231},{230},{229},
{226},{225},{173},{174},{175},{224},{223},{222},{221},{220},{219},{218},
{217},{216},{215},{214},{213},{212},{211},{210},{209},
{207},{206},{205},{204},{203},{202},{201},{200},{199},{198},{197},{196},
{195},{194},{193},{192},{191},{190},{189},{185},{184},{183},
{182},{181},{180},{179},{178},{176},{172},{170},{168},{167},{162},
{161},{160},{159},{158},{157},{156},{155},{154},{153},{152},{151},
{146},{145},{144},{143},{142},{141},{140},{139},{138},{137},{136},{135},
{134},{133},{132},{131},{130},{129},{128},{254},{99},{97},{96},{95},{94},
{92},{90},{89},{88},{87},{85},{84},{83},{82},{81},{80},{79},{78},{77},{76},
{75},{73},{72},{69},{68},{67},{66},{64},{63},{62},{58},{57},{56},{55},
{54},{53},{52},{51},{50},{49},{45},{44},{43},{41},{39},{38},{37},{36},{35},
{34},{33},{32},{31},{30},{29},{28},{27},{26},{25},{24},{23},{22},{21},{20},
{19},{18},{17},{16},{15},{14},{13},{12},{11},{10},{1},{2},
{290},//ROSE
{291},//PAUL
{292},//CESAR
{293},//OGLOC
{187},
{296},//JIZZY
{297},//MADDOGG
{298},//CAT
{299}//ZERO
};
new CopSkin[16][2] = {
{165},{166}, {265}, {266}, {267}, {280}, {281}, {282},
{283}, {285}, {286}, {287}, {288},{164},{163},{71}
};
new MedicSkin[5][3] = {
{70},{274},{228},{275},{276}
};
for(new i = 0; i <= sizeof(Peds)-1; i++)
{
AddPlayerClass(Peds[i][0],-2026.5035, 156.7506, 29.0391,269.1425,-1,-1,-1,-1,-1,-1);
}
for(new i = 0; i <= sizeof(CopSkin)-1; i++)
{
AddPlayerClass(CopSkin[i][1],-2026.5035, 156.7506, 29.0391,269.1425,-1,-1,-1,-1,-1,-1);
}
for(new i = 0; i <= sizeof(MedicSkin)-1; i++)
{
AddPlayerClass(MedicSkin[i][2],-2026.5035, 156.7506, 29.0391,269.1425,-1,-1,-1,-1,-1,-1);
}
if(classid >= CopSkin[0][1] && classid <= CopSkin[14][1])
{
format(string2, sizeof(string2), "~b~Polizei");
}
else if(classid >= Peds[0][0] && classid <= Peds[212][0])
{
format(string2, sizeof(string2), "~y~Andere");
}
else if(classid >= MedicSkin[0][2] && classid <= MedicSkin[4][2])
{
format(string2, sizeof(string2), "~r~Medic");
}
TextDrawSetString(logintext6[playerid], string2);
Nur irgendwie geht's nicht wusste jemand wie es so gehen wurde ?
Danke im voraus.
MFG GamerXIOS