new JoinPed[100][1] = {{194},{60},{282},{280},{283},//LSPD Skins{194},{250},{267},{265},{288}, //SFPDSkins{194},{287}, //Armee Skins{76},{274},{275},{276},{70}, // MedicsSkins{111},{125},{126},{113}, //LCN Skins{224},{123},{122},{186}, //Yakuza Skins{141},{164},{163}, {255},{147},{17}, //Presiskins{21}, {20},{22}, {29}, {192}, //Hitman Skins{219}, {227},{187}, //News skins{193}, {23},{292},{48}, //The Riders skins{172},{171}, //fahrschul Skins{56},{105},{107},{106},{269},{271},{270}, //Gove skin{195},{103}, {102}, {104}, //Ballas Skins{190}, {170}, {180}, {189}, {19}, //RS Skins{91}, {108},{109}, {110}, //Vagos skins{41}, {116}, {115}, {114}, //Aztetacs skins{69},{174},{175},{173}, // Rifa Skins{98}, {55},{272},{124}, //Brigada{21},{20},{22},{29},{192}, //Terror{286}, {194}, //FBI{169},{294},{117},{118},{120}, //triaden{21},{20},{22}, {29},{192}, //Wheel{71}, {150}, //oamt{233}, {277},{254},{248} //BikerBoys};
if(SelectChar[playerid] == 255) { new idx; tmp = strtok(text, idx); if ((strcmp("weiter", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("weiter"))) { switch (SelectCharID[playerid]) { case 1: // LSPD { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[0][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[1][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[2][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[3][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[4][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[4][0]; } } case 2: // SFPD { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[5][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[5][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[6][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[6][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[7][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[7][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[8][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[8][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[9][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[9][0]; } } case 3: // Army { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[10][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[10][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[11][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[11][0]; } } case 4: // Medic { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[12][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[12][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[13][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[13][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[14][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[14][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[15][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[15][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[16][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[16][0]; } } case 5: //La Cosa Nostra { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[17][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[17][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[18][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[18][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[19][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[19][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[20][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[20][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[21][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[21][0]; } } case 6: //Yakuza { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[22][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[22][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[23][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[23][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[24][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[24][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[25][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[25][0]; } } case 7: //Präsident { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[26][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[26][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[27][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[27][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[28][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[28][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[29][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[29][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[30][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[30][0]; } else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[31][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[31][0]; } } case 8: //Hitman Agency { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[32][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[32][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[33][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[33][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[34][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[34][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[35][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[35][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[36][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[36][0]; } } case 9: //News Reporters { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[37][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[37][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[38][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[38][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[39][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[39][0]; } } case 10: //The Riders { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[40][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[40][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[41][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[41][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[42][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[42][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[43][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[43][0]; } } case 11: //Driving/Flying School { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[44][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[44][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[45][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[45][0]; } } case 13: //Grove Street { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[46][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[46][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[47][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[47][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[48][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[48][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[49][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[49][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[50][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[50][0]; } else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[51][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[51][0]; } else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[52][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[52][0]; } } case 14: //Ballas { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[53][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[53][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[54][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[54][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[55][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[55][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[56][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[56][0]; } } case 15: //RS { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[57][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[57][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[58][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[58][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[59][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[59][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[60][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[60][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[61][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[61][0]; } } case 16: //Los Santos Vagos { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[62][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[62][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[63][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[63][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[64][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[64][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[65][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[65][0]; } } case 17: //Varios Los Aztecas { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[66][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[66][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[67][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[67][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[68][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[68][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[69][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[69][0]; } } case 18: //San Fierro Rifa { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[70][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[70][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[71][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[71][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[72][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[72][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[73][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[73][0]; } } case 19: //Brigader { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[74][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[74][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[75][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[75][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[76][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[76][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[77][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[77][0]; } } case 20: //Terror { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[78][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[78][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[79][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[79][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[80][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[80][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[81][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[81][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[82][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[82][0]; } } case 21: // FBI { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[83][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[83][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[84][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[84][0]; } } case 22: // Triaden { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[85][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[85][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[86][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[86][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[87][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[87][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[88][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[88][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[89][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[89][0]; } } case 23: // Wheelmans { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[90][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[90][0]; } if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[91][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[91][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[92][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[92][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[93][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[93][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[94][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[94][0]; } } case 24: // Ordnungsamt { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[95][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[95][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[96][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[96][0]; } } case 25: //BikerBoyZ { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[97][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[97][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[98][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[98][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[99][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[99][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[100][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[100][0]; } } } return 0; }
Error:error 052: multi-dimensional arrays must be fully initialized
Bitte um Hilfe habe schon fast alles Ausprobiert.
Mfg