SHARE
TWEET

Untitled

a guest Aug 13th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     new giver[MAX_PLAYER_NAME];
  3.     new sendername[MAX_PLAYER_NAME];
  4.     new giveplayer[MAX_PLAYER_NAME];
  5.     new tmp[256];
  6.     new string[256];
  7.     new giveplayerid;
  8.     if(PlayerInfo[playerid][pMuted] == 1)
  9.     {
  10.         SendClientMessage(playerid, TEAM_CYAN_COLOR, " Ты не можешь говорить, тебя заткнули");
  11.         return 0;
  12.     }
  13.     if(SelectChar[playerid] == 255)
  14.     {
  15.         new idx;
  16.         tmp = strtok(text, idx);
  17.         if ((strcmp("дальше", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("дальше")))
  18.         {
  19.             switch (SelectCharID[playerid])
  20.             {
  21.                 case 1: //Police Force
  22.                 {
  23.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[0][0]; }
  24.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[1][0]; }
  25.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[2][0]; }
  26.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[3][0]; }
  27.                     else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[4][0]; }
  28.                     else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[5][0]; }
  29.                     else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[6][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = JoinPed[6][0]; }
  30.                 }
  31.                 case 2: //FBI/ATF
  32.                 {
  33.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[7][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[7][0]; }
  34.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[8][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[8][0]; }
  35.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[9][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[9][0]; }
  36.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[10][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[10][0]; }
  37.                 }
  38.                 case 3: //National Guard
  39.                 {
  40.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[11][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[11][0]; }
  41.  
  42.                 }
  43.                 case 4: //Fire&Ambulance
  44.                 {
  45.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[12][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[12][0]; }
  46.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[13][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[13][0]; }
  47.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[14][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[14][0]; }
  48.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[15][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[15][0]; }
  49.                     else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[16][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[16][0]; }
  50.                     else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[17][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[17][0]; }
  51.                     //else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[22][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[22][0]; }
  52.                 }
  53.                 case 5: //Surenos
  54.                 {
  55.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[18][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[18][0]; }
  56.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[19][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[19][0]; }
  57.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[20][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[20][0]; }
  58.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[21][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[21][0]; }
  59.                     else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[22][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[22][0]; }
  60.                     //else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[23][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[30][0]; }
  61.                 }
  62.                 case 6: //Luciano family
  63.                 {
  64.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[23][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[23][0]; }
  65.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[24][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[24][0]; }
  66.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[25][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[25][0]; }
  67.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[26][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[26][0]; }
  68.                 }
  69.                 case 7: //Luciano family
  70.                 {
  71.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[27][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[27][0]; }
  72.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[28][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[28][0]; }
  73.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[29][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[29][0]; }
  74.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[30][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[30][0]; }
  75.                 }
  76.                 case 8: //Hitman Agency
  77.                 {
  78.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[31][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[31][0]; }
  79.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[32][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[32][0]; }
  80.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[33][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[33][0]; }
  81.                     //else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[41][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[41][0]; }
  82.                     //else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[42][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[42][0]; }
  83.                 }
  84.                 case 9: //News Reporters
  85.                 {
  86.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[33][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[33][0]; }
  87.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[34][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[34][0]; }
  88.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[35][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[35][0]; }
  89.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[36][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[36][0]; }
  90.                     else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[37][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[37][0]; }
  91.                     else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[38][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[38][0]; }
  92.  
  93.                 }
  94.                 /*case 10: //Taxi Cab Company
  95.                 {
  96.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[46][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[46][0]; }
  97.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[47][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[47][0]; }
  98.                 }*/
  99.                 case 11: //Driving/Flying School
  100.                 {
  101.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[39][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[39][0]; }
  102.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[40][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[40][0]; }
  103.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[41][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[41][0]; }
  104.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[42][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[42][0]; }
  105.                 }
  106.                 case 12: //Russian Mafia
  107.                 {
  108.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[43][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[43][0]; }
  109.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[44][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[44][0]; }
  110.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[45][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[45][0]; }
  111.                  }
  112.                 case 13: //Groove
  113.                 {
  114.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[46][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[46][0]; }
  115.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[47][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[47][0]; }
  116.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[48][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[48][0]; }
  117.                     //else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[47][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[47][0]; }
  118.                     //else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[48][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[48][0]; }
  119.                     //else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[49][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[49][0]; }
  120.                 }
  121.                 case 14: //Ballas
  122.                 {
  123.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[49][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[49][0]; }
  124.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[50][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[50][0]; }
  125.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[51][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[51][0]; }
  126.                 }
  127.                 case 15: //Aztecas
  128.                 {
  129.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[52][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[52][0]; }
  130.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[53][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[53][0]; }
  131.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[54][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[54][0]; }
  132.                 }
  133.                 case 16: //Vagos
  134.                 {
  135.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[55][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[55][0]; }
  136.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[56][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[56][0]; }
  137.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[57][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[57][0]; }
  138.                 }
  139.                 case 17: //rifa
  140.                 {
  141.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[58][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[58][0]; }
  142.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[59][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[59][0]; }
  143.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[60][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[60][0]; }
  144.                 }
  145.                 case 18: //Байкеры
  146.                 {
  147.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[61][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[61][0]; }
  148.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[62][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[62][0]; }
  149.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[63][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[63][0]; }
  150.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[64][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[64][0]; }
  151.                     else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[65][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[65][0]; }
  152.                     else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[66][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[66][0]; }
  153.                     //else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[52][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[52][0]; }
  154.                 }
  155.                 case 19: //Братва
  156.                 {
  157.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[67][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[67][0]; }
  158.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[68][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[68][0]; }
  159.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[69][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[69][0]; }
  160.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[70][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[70][0]; }
  161.                     //else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[52][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[71][0]; }
  162.                     //else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[52][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[52][0]; }
  163.                     //else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[52][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[52][0]; }
  164.                     //else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, JoinPed[52][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[52][0]; }
  165.                 }
  166.                 case 22: //Columbian
  167.                 {
  168.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[71][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[71][0]; }
  169.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[72][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[72][0]; }
  170.                 }
  171.                 case 23: //Crip coast
  172.                 {
  173.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[73][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[73][0]; }
  174.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[74][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[74][0]; }
  175.                 }
  176.                 case 24: //Ghetto
  177.                 {
  178.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[75][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[75][0]; }
  179.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[76][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[76][0]; }
  180.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[77][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[77][0]; }
  181.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[78][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[78][0]; }
  182.                 }
  183.                 case 20: //Male civilian ()
  184.                 {
  185.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, CivMalePeds[1][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = CivMalePeds[1][0]; }
  186.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, CivMalePeds[2][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = CivMalePeds[2][0]; }
  187.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, CivMalePeds[3][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = CivMalePeds[3][0]; }
  188.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, CivMalePeds[4][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = CivMalePeds[4][0]; }
  189.                     else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, CivMalePeds[5][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = CivMalePeds[5][0]; }
  190.                     else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, CivMalePeds[6][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = CivMalePeds[6][0]; }
  191.                     else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, CivMalePeds[7][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = CivMalePeds[7][0]; }
  192.                     else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, CivMalePeds[8][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = CivMalePeds[8][0]; }
  193.                     else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, CivMalePeds[9][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = CivMalePeds[9][0]; }
  194.                     else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, CivMalePeds[10][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = CivMalePeds[10][0]; }
  195.                     else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, CivMalePeds[11][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = CivMalePeds[11][0]; }
  196.                     else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, CivMalePeds[12][0]); SelectCharPlace[playerid] = 13; ChosenSkin[playerid] = CivMalePeds[12][0]; }
  197.                     else if(SelectCharPlace[playerid] == 13) { SetPlayerSkin(playerid, CivMalePeds[13][0]); SelectCharPlace[playerid] = 14; ChosenSkin[playerid] = CivMalePeds[13][0]; }
  198.                     else if(SelectCharPlace[playerid] == 14) { SetPlayerSkin(playerid, CivMalePeds[14][0]); SelectCharPlace[playerid] = 15; ChosenSkin[playerid] = CivMalePeds[14][0]; }
  199.                     else if(SelectCharPlace[playerid] == 15) { SetPlayerSkin(playerid, CivMalePeds[15][0]); SelectCharPlace[playerid] = 16; ChosenSkin[playerid] = CivMalePeds[15][0]; }
  200.                     else if(SelectCharPlace[playerid] == 16) { SetPlayerSkin(playerid, CivMalePeds[16][0]); SelectCharPlace[playerid] = 17; ChosenSkin[playerid] = CivMalePeds[16][0]; }
  201.                     else if(SelectCharPlace[playerid] == 17) { SetPlayerSkin(playerid, CivMalePeds[17][0]); SelectCharPlace[playerid] = 18; ChosenSkin[playerid] = CivMalePeds[17][0]; }
  202.                     else if(SelectCharPlace[playerid] == 18) { SetPlayerSkin(playerid, CivMalePeds[18][0]); SelectCharPlace[playerid] = 19; ChosenSkin[playerid] = CivMalePeds[18][0]; }
  203.                     else if(SelectCharPlace[playerid] == 19) { SetPlayerSkin(playerid, CivMalePeds[19][0]); SelectCharPlace[playerid] = 20; ChosenSkin[playerid] = CivMalePeds[19][0]; }
  204.                     else if(SelectCharPlace[playerid] == 20) { SetPlayerSkin(playerid, CivMalePeds[20][0]); SelectCharPlace[playerid] = 21; ChosenSkin[playerid] = CivMalePeds[20][0]; }
  205.                     else if(SelectCharPlace[playerid] == 21) { SetPlayerSkin(playerid, CivMalePeds[21][0]); SelectCharPlace[playerid] = 22; ChosenSkin[playerid] = CivMalePeds[21][0]; }
  206.                     else if(SelectCharPlace[playerid] == 22) { SetPlayerSkin(playerid, CivMalePeds[22][0]); SelectCharPlace[playerid] = 23; ChosenSkin[playerid] = CivMalePeds[22][0]; }
  207.                     else if(SelectCharPlace[playerid] == 23) { SetPlayerSkin(playerid, CivMalePeds[23][0]); SelectCharPlace[playerid] = 24; ChosenSkin[playerid] = CivMalePeds[23][0]; }
  208.                     else if(SelectCharPlace[playerid] == 24) { SetPlayerSkin(playerid, CivMalePeds[24][0]); SelectCharPlace[playerid] = 25; ChosenSkin[playerid] = CivMalePeds[24][0]; }
  209.                     else if(SelectCharPlace[playerid] == 25) { SetPlayerSkin(playerid, CivMalePeds[25][0]); SelectCharPlace[playerid] = 26; ChosenSkin[playerid] = CivMalePeds[25][0]; }
  210.                     else if(SelectCharPlace[playerid] == 26) { SetPlayerSkin(playerid, CivMalePeds[26][0]); SelectCharPlace[playerid] = 27; ChosenSkin[playerid] = CivMalePeds[26][0]; }
  211.                     else if(SelectCharPlace[playerid] == 27) { SetPlayerSkin(playerid, CivMalePeds[27][0]); SelectCharPlace[playerid] = 28; ChosenSkin[playerid] = CivMalePeds[27][0]; }
  212.                     else if(SelectCharPlace[playerid] == 28) { SetPlayerSkin(playerid, CivMalePeds[28][0]); SelectCharPlace[playerid] = 29; ChosenSkin[playerid] = CivMalePeds[28][0]; }
  213.                     else if(SelectCharPlace[playerid] == 29) { SetPlayerSkin(playerid, CivMalePeds[29][0]); SelectCharPlace[playerid] = 30; ChosenSkin[playerid] = CivMalePeds[29][0]; }
  214.                     else if(SelectCharPlace[playerid] == 30) { SetPlayerSkin(playerid, CivMalePeds[30][0]); SelectCharPlace[playerid] = 31; ChosenSkin[playerid] = CivMalePeds[30][0]; }
  215.                     else if(SelectCharPlace[playerid] == 31) { SetPlayerSkin(playerid, CivMalePeds[31][0]); SelectCharPlace[playerid] = 32; ChosenSkin[playerid] = CivMalePeds[31][0]; }
  216.                     else if(SelectCharPlace[playerid] == 32) { SetPlayerSkin(playerid, CivMalePeds[32][0]); SelectCharPlace[playerid] = 33; ChosenSkin[playerid] = CivMalePeds[32][0]; }
  217.                     else if(SelectCharPlace[playerid] == 33) { SetPlayerSkin(playerid, CivMalePeds[33][0]); SelectCharPlace[playerid] = 34; ChosenSkin[playerid] = CivMalePeds[33][0]; }
  218.                     else if(SelectCharPlace[playerid] == 34) { SetPlayerSkin(playerid, CivMalePeds[34][0]); SelectCharPlace[playerid] = 35; ChosenSkin[playerid] = CivMalePeds[34][0]; }
  219.                     else if(SelectCharPlace[playerid] == 35) { SetPlayerSkin(playerid, CivMalePeds[35][0]); SelectCharPlace[playerid] = 36; ChosenSkin[playerid] = CivMalePeds[35][0]; }
  220.                     else if(SelectCharPlace[playerid] == 36) { SetPlayerSkin(playerid, CivMalePeds[36][0]); SelectCharPlace[playerid] = 37; ChosenSkin[playerid] = CivMalePeds[36][0]; }
  221.                     else if(SelectCharPlace[playerid] == 37) { SetPlayerSkin(playerid, CivMalePeds[37][0]); SelectCharPlace[playerid] = 38; ChosenSkin[playerid] = CivMalePeds[37][0]; }
  222.                     else if(SelectCharPlace[playerid] == 38) { SetPlayerSkin(playerid, CivMalePeds[38][0]); SelectCharPlace[playerid] = 39; ChosenSkin[playerid] = CivMalePeds[38][0]; }
  223.                     else if(SelectCharPlace[playerid] == 39) { SetPlayerSkin(playerid, CivMalePeds[39][0]); SelectCharPlace[playerid] = 40; ChosenSkin[playerid] = CivMalePeds[39][0]; }
  224.                     else if(SelectCharPlace[playerid] == 40) { SetPlayerSkin(playerid, CivMalePeds[40][0]); SelectCharPlace[playerid] = 41; ChosenSkin[playerid] = CivMalePeds[40][0]; }
  225.                     else if(SelectCharPlace[playerid] == 41) { SetPlayerSkin(playerid, CivMalePeds[41][0]); SelectCharPlace[playerid] = 42; ChosenSkin[playerid] = CivMalePeds[41][0]; }
  226.                     else if(SelectCharPlace[playerid] == 42) { SetPlayerSkin(playerid, CivMalePeds[42][0]); SelectCharPlace[playerid] = 43; ChosenSkin[playerid] = CivMalePeds[42][0]; }
  227.                     else if(SelectCharPlace[playerid] == 43) { SetPlayerSkin(playerid, CivMalePeds[43][0]); SelectCharPlace[playerid] = 44; ChosenSkin[playerid] = CivMalePeds[43][0]; }
  228.                     else if(SelectCharPlace[playerid] == 44) { SetPlayerSkin(playerid, CivMalePeds[44][0]); SelectCharPlace[playerid] = 45; ChosenSkin[playerid] = CivMalePeds[44][0]; }
  229.                     else if(SelectCharPlace[playerid] == 45) { SetPlayerSkin(playerid, CivMalePeds[45][0]); SelectCharPlace[playerid] = 46; ChosenSkin[playerid] = CivMalePeds[45][0]; }
  230.                     else if(SelectCharPlace[playerid] == 46) { SetPlayerSkin(playerid, CivMalePeds[46][0]); SelectCharPlace[playerid] = 47; ChosenSkin[playerid] = CivMalePeds[46][0]; }
  231.                     else if(SelectCharPlace[playerid] == 47) { SetPlayerSkin(playerid, CivMalePeds[47][0]); SelectCharPlace[playerid] = 48; ChosenSkin[playerid] = CivMalePeds[47][0]; }
  232.                     else if(SelectCharPlace[playerid] == 48) { SetPlayerSkin(playerid, CivMalePeds[48][0]); SelectCharPlace[playerid] = 49; ChosenSkin[playerid] = CivMalePeds[48][0]; }
  233.                     else if(SelectCharPlace[playerid] == 49) { SetPlayerSkin(playerid, CivMalePeds[49][0]); SelectCharPlace[playerid] = 50; ChosenSkin[playerid] = CivMalePeds[49][0]; }
  234.                     else if(SelectCharPlace[playerid] == 50) { SetPlayerSkin(playerid, CivMalePeds[50][0]); SelectCharPlace[playerid] = 51; ChosenSkin[playerid] = CivMalePeds[50][0]; }
  235.                     else if(SelectCharPlace[playerid] == 51) { SetPlayerSkin(playerid, CivMalePeds[51][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = CivMalePeds[51][0]; }
  236.                 }
  237.                 case 30: //Female civilian
  238.                 {
  239.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, CivFemalePeds[1][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = CivFemalePeds[1][0]; }
  240.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, CivFemalePeds[2][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = CivFemalePeds[2][0]; }
  241.                     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, CivFemalePeds[3][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = CivFemalePeds[3][0]; }
  242.                     else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, CivFemalePeds[4][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = CivFemalePeds[4][0]; }
  243.                     else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, CivFemalePeds[5][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = CivFemalePeds[5][0]; }
  244.                     else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, CivFemalePeds[6][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = CivFemalePeds[6][0]; }
  245.                     else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, CivFemalePeds[7][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = CivFemalePeds[7][0]; }
  246.                     else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, CivFemalePeds[8][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = CivFemalePeds[8][0]; }
  247.                     else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, CivFemalePeds[9][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = CivFemalePeds[9][0]; }
  248.                     else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, CivFemalePeds[10][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = CivFemalePeds[10][0]; }
  249.                     else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, CivFemalePeds[11][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = CivFemalePeds[11][0]; }
  250.                     else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, CivFemalePeds[12][0]); SelectCharPlace[playerid] = 13; ChosenSkin[playerid] = CivFemalePeds[12][0]; }
  251.                     else if(SelectCharPlace[playerid] == 13) { SetPlayerSkin(playerid, CivFemalePeds[13][0]); SelectCharPlace[playerid] = 14; ChosenSkin[playerid] = CivFemalePeds[13][0]; }
  252.                     else if(SelectCharPlace[playerid] == 14) { SetPlayerSkin(playerid, CivFemalePeds[14][0]); SelectCharPlace[playerid] = 15; ChosenSkin[playerid] = CivFemalePeds[14][0]; }
  253.                     else if(SelectCharPlace[playerid] == 15) { SetPlayerSkin(playerid, CivFemalePeds[15][0]); SelectCharPlace[playerid] = 16; ChosenSkin[playerid] = CivFemalePeds[15][0]; }
  254.                     else if(SelectCharPlace[playerid] == 16) { SetPlayerSkin(playerid, CivFemalePeds[16][0]); SelectCharPlace[playerid] = 17; ChosenSkin[playerid] = CivFemalePeds[16][0]; }
  255.                     else if(SelectCharPlace[playerid] == 17) { SetPlayerSkin(playerid, CivFemalePeds[17][0]); SelectCharPlace[playerid] = 18; ChosenSkin[playerid] = CivFemalePeds[17][0]; }
  256.                     else if(SelectCharPlace[playerid] == 18) { SetPlayerSkin(playerid, CivFemalePeds[18][0]); SelectCharPlace[playerid] = 19; ChosenSkin[playerid] = CivFemalePeds[18][0]; }
  257.                     else if(SelectCharPlace[playerid] == 19) { SetPlayerSkin(playerid, CivFemalePeds[19][0]); SelectCharPlace[playerid] = 20; ChosenSkin[playerid] = CivFemalePeds[19][0]; }
  258.                     else if(SelectCharPlace[playerid] == 20) { SetPlayerSkin(playerid, CivFemalePeds[20][0]); SelectCharPlace[playerid] = 21; ChosenSkin[playerid] = CivFemalePeds[20][0]; }
  259.                     else if(SelectCharPlace[playerid] == 21) { SetPlayerSkin(playerid, CivFemalePeds[21][0]); SelectCharPlace[playerid] = 22; ChosenSkin[playerid] = CivFemalePeds[21][0]; }
  260.                     else if(SelectCharPlace[playerid] == 22) { SetPlayerSkin(playerid, CivFemalePeds[22][0]); SelectCharPlace[playerid] = 23; ChosenSkin[playerid] = CivFemalePeds[22][0]; }
  261.                     else if(SelectCharPlace[playerid] == 23) { SetPlayerSkin(playerid, CivFemalePeds[23][0]); SelectCharPlace[playerid] = 24; ChosenSkin[playerid] = CivFemalePeds[23][0]; }
  262.                     else if(SelectCharPlace[playerid] == 24) { SetPlayerSkin(playerid, CivFemalePeds[24][0]); SelectCharPlace[playerid] = 25; ChosenSkin[playerid] = CivFemalePeds[24][0]; }
  263.                     else if(SelectCharPlace[playerid] == 25) { SetPlayerSkin(playerid, CivFemalePeds[25][0]); SelectCharPlace[playerid] = 26; ChosenSkin[playerid] = CivFemalePeds[25][0]; }
  264.                     else if(SelectCharPlace[playerid] == 26) { SetPlayerSkin(playerid, CivFemalePeds[26][0]); SelectCharPlace[playerid] = 27; ChosenSkin[playerid] = CivFemalePeds[26][0]; }
  265.                     else if(SelectCharPlace[playerid] == 27) { SetPlayerSkin(playerid, CivFemalePeds[27][0]); SelectCharPlace[playerid] = 28; ChosenSkin[playerid] = CivFemalePeds[27][0]; }
  266.                     else if(SelectCharPlace[playerid] == 28) { SetPlayerSkin(playerid, CivFemalePeds[28][0]); SelectCharPlace[playerid] = 29; ChosenSkin[playerid] = CivFemalePeds[28][0]; }
  267.                     else if(SelectCharPlace[playerid] == 29) { SetPlayerSkin(playerid, CivFemalePeds[29][0]); SelectCharPlace[playerid] = 30; ChosenSkin[playerid] = CivFemalePeds[29][0]; }
  268.                     else if(SelectCharPlace[playerid] == 30) { SetPlayerSkin(playerid, CivFemalePeds[30][0]); SelectCharPlace[playerid] = 31; ChosenSkin[playerid] = CivFemalePeds[30][0]; }
  269.                     else if(SelectCharPlace[playerid] == 31) { SetPlayerSkin(playerid, CivFemalePeds[31][0]); SelectCharPlace[playerid] = 32; ChosenSkin[playerid] = CivFemalePeds[31][0]; }
  270.                     else if(SelectCharPlace[playerid] == 32) { SetPlayerSkin(playerid, CivFemalePeds[32][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = CivFemalePeds[32][0]; }
  271.                 }
  272.                 case 21: //Netas
  273.                 {
  274.                     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[58][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[58][0]; }
  275.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[59][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[59][0]; }
  276.                     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[60][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[60][0]; }
  277.                 }
  278.  
  279.             }
  280.             return 0;
  281.         }
  282.         else if ((strcmp("выбрать", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("выбрать")))
  283.         {
  284.             if(ChangePos2[playerid][1] == 1)
  285.             {
  286.                 SetPlayerInterior(playerid, ChangePos2[playerid][0]);
  287.                  SetPlayerPos(playerid, ChangePos[playerid][0],ChangePos[playerid][1],ChangePos[playerid][2]);
  288.                 ChangePos2[playerid][1] = 0;
  289.                 //SetPlayerVirtualWorld(playerid,PlayerInfo[playerid][pVirWorld]);
  290.                 //SetPlayerInterior(playerid,PlayerInfo[playerid][pInt]);
  291.                 //SetPlayerPos(playerid,216.9140,-99.5106,1005.2578);
  292.                 return 0;
  293.             }
  294.             PlayerInfo[playerid][pModel] = ChosenSkin[playerid];
  295.             PlayerInfo[playerid][pChar] = ChosenSkin[playerid];
  296.             SetSpawnInfo(playerid, PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel],0.0,0.0,0.0,0,0,0,0,0,0,0);
  297.             gTeam[playerid] = PlayerInfo[playerid][pTeam];
  298.             SetPlayerToTeamColor(playerid);
  299.             MedicBill[playerid] = 0;
  300.             SpawnPlayer(playerid);
  301.             SelectCharPlace[playerid] = 0;
  302.             SelectCharID[playerid] = 0;
  303.             SelectChar[playerid] = 0;
  304.             //SetTimerEx("backtoclothes", 500, false, "i", playerid);
  305.             return 0;
  306.         }
  307.         else
  308.         {
  309.             SendClientMessage(playerid, COLOR_WHITE, "* Используй 'дальше ', или 'выбрать'.");
  310.             return 0;
  311.         }
  312.     }
RAW Paste Data
Top