[Ajuda] Loja de Roupas
#1

Boas tipo tenho aqui um problema como adeciono skins para venda na loja de roupas


ta aqui isto que encontrei no meu GM

axo que e isto

PHP код:
    if(SelectChar[playerid] == 255)
    {
        new 
idx;
        
tmp strtok(textidx);
        if ((
strcmp("next"tmptruestrlen(tmp)) == 0) && (strlen(tmp) == strlen("next")))
        {
            switch (
SelectCharID[playerid])
            {
                case 
1//Police Force
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridJoinPed[0][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = JoinPed[0][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridJoinPed[1][0]); SelectCharPlace[playerid] = 3ChosenSkin[playerid] = JoinPed[1][0]; }
                    else if(
SelectCharPlace[playerid] == 3) { SetPlayerSkin(playeridJoinPed[2][0]); SelectCharPlace[playerid] = 4ChosenSkin[playerid] = JoinPed[2][0]; }
                    else if(
SelectCharPlace[playerid] == 4) { SetPlayerSkin(playeridJoinPed[3][0]); SelectCharPlace[playerid] = 5ChosenSkin[playerid] = JoinPed[3][0]; }
                    else if(
SelectCharPlace[playerid] == 5) { SetPlayerSkin(playeridJoinPed[4][0]); SelectCharPlace[playerid] = 6ChosenSkin[playerid] = JoinPed[4][0]; }
                    else if(
SelectCharPlace[playerid] == 6) { SetPlayerSkin(playeridJoinPed[5][0]); SelectCharPlace[playerid] = 7ChosenSkin[playerid] = JoinPed[5][0]; }
                    else if(
SelectCharPlace[playerid] == 7) { SetPlayerSkin(playeridJoinPed[6][0]); SelectCharPlace[playerid] = 8ChosenSkin[playerid] = JoinPed[6][0]; }
                    else if(
SelectCharPlace[playerid] == 8) { SetPlayerSkin(playeridJoinPed[7][0]); SelectCharPlace[playerid] = 9ChosenSkin[playerid] = JoinPed[7][0]; }
                    else if(
SelectCharPlace[playerid] == 9) { SetPlayerSkin(playeridJoinPed[8][0]); SelectCharPlace[playerid] = 10ChosenSkin[playerid] = JoinPed[8][0]; }
                    else if(
SelectCharPlace[playerid] == 10) { SetPlayerSkin(playeridJoinPed[9][0]); SelectCharPlace[playerid] = 11ChosenSkin[playerid] = JoinPed[9][0]; }
                    else if(
SelectCharPlace[playerid] == 11) { SetPlayerSkin(playeridJoinPed[10][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = JoinPed[10][0]; }
                }
                case 
2//FBI/ATF
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridJoinPed[11][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = JoinPed[11][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridJoinPed[12][0]); SelectCharPlace[playerid] = 3ChosenSkin[playerid] = JoinPed[12][0]; }
                    else if(
SelectCharPlace[playerid] == 3) { SetPlayerSkin(playeridJoinPed[13][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = JoinPed[13][0]; }
                }
                case 
3//National Guard
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridJoinPed[14][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = JoinPed[14][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridJoinPed[15][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = JoinPed[15][0]; }
                }
                case 
4//Fire&Ambulance
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridJoinPed[16][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = JoinPed[16][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridJoinPed[17][0]); SelectCharPlace[playerid] = 3ChosenSkin[playerid] = JoinPed[17][0]; }
                    else if(
SelectCharPlace[playerid] == 3) { SetPlayerSkin(playeridJoinPed[18][0]); SelectCharPlace[playerid] = 4ChosenSkin[playerid] = JoinPed[18][0]; }
                    else if(
SelectCharPlace[playerid] == 4) { SetPlayerSkin(playeridJoinPed[19][0]); SelectCharPlace[playerid] = 5ChosenSkin[playerid] = JoinPed[19][0]; }
                    else if(
SelectCharPlace[playerid] == 5) { SetPlayerSkin(playeridJoinPed[20][0]); SelectCharPlace[playerid] = 6ChosenSkin[playerid] = JoinPed[20][0]; }
                    else if(
SelectCharPlace[playerid] == 6) { SetPlayerSkin(playeridJoinPed[21][0]); SelectCharPlace[playerid] = 7ChosenSkin[playerid] = JoinPed[21][0]; }
                    else if(
SelectCharPlace[playerid] == 7) { SetPlayerSkin(playeridJoinPed[22][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = JoinPed[22][0]; }
                }
                case 
5//Surenos
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridJoinPed[25][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = JoinPed[25][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridJoinPed[26][0]); SelectCharPlace[playerid] = 3ChosenSkin[playerid] = JoinPed[26][0]; }
                    else if(
SelectCharPlace[playerid] == 3) { SetPlayerSkin(playeridJoinPed[27][0]); SelectCharPlace[playerid] = 4ChosenSkin[playerid] = JoinPed[27][0]; }
                    else if(
SelectCharPlace[playerid] == 4) { SetPlayerSkin(playeridJoinPed[28][0]); SelectCharPlace[playerid] = 5ChosenSkin[playerid] = JoinPed[28][0]; }
                    else if(
SelectCharPlace[playerid] == 5) { SetPlayerSkin(playeridJoinPed[29][0]); SelectCharPlace[playerid] = 6ChosenSkin[playerid] = JoinPed[29][0]; }
                    else if(
SelectCharPlace[playerid] == 6) { SetPlayerSkin(playeridJoinPed[30][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = JoinPed[30][0]; }
                }
                
/*case 6: //Luciano family
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[31][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[31][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[32][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[32][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[33][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[33][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[34][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[34][0]; }
                }*/
                
case 8//Hitman Agency
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridJoinPed[38][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = JoinPed[38][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridJoinPed[39][0]); SelectCharPlace[playerid] = 3ChosenSkin[playerid] = JoinPed[39][0]; }
                    else if(
SelectCharPlace[playerid] == 3) { SetPlayerSkin(playeridJoinPed[40][0]); SelectCharPlace[playerid] = 4ChosenSkin[playerid] = JoinPed[40][0]; }
                    else if(
SelectCharPlace[playerid] == 4) { SetPlayerSkin(playeridJoinPed[41][0]); SelectCharPlace[playerid] = 5ChosenSkin[playerid] = JoinPed[41][0]; }
                    else if(
SelectCharPlace[playerid] == 5) { SetPlayerSkin(playeridJoinPed[42][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = JoinPed[42][0]; }
                }
                case 
9//News Reporters
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridJoinPed[43][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = JoinPed[43][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridJoinPed[44][0]); SelectCharPlace[playerid] = 3ChosenSkin[playerid] = JoinPed[44][0]; }
                    else if(
SelectCharPlace[playerid] == 3) { SetPlayerSkin(playeridJoinPed[45][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = JoinPed[45][0]; }
                }
                case 
10//Taxi Cab Company
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridJoinPed[46][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = JoinPed[46][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridJoinPed[47][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = JoinPed[47][0]; }
                }
                case 
11//Driving/Flying School
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridJoinPed[48][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = JoinPed[48][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridJoinPed[49][0]); SelectCharPlace[playerid] = 3ChosenSkin[playerid] = JoinPed[49][0]; }
                    else if(
SelectCharPlace[playerid] == 3) { SetPlayerSkin(playeridJoinPed[50][0]); SelectCharPlace[playerid] = 4ChosenSkin[playerid] = JoinPed[50][0]; }
                    else if(
SelectCharPlace[playerid] == 4) { SetPlayerSkin(playeridJoinPed[51][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = JoinPed[51][0]; }
                }
                
/*case 14: //Yamaguchi
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 122); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 122; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 118); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 118; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 186); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 186; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 123); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 123; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 113); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 113; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 169); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 169; }
                }
                */
                
case 15//47th Street Saints Families
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridJoinPed[58][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = JoinPed[58][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridJoinPed[59][0]); SelectCharPlace[playerid] = 3ChosenSkin[playerid] = JoinPed[59][0]; }
                    else if(
SelectCharPlace[playerid] == 3) { SetPlayerSkin(playeridJoinPed[60][0]); SelectCharPlace[playerid] = 4ChosenSkin[playerid] = JoinPed[60][0]; }
                    else if(
SelectCharPlace[playerid] == 4) { SetPlayerSkin(playeridJoinPed[61][0]); SelectCharPlace[playerid] = 5ChosenSkin[playerid] = JoinPed[61][0]; }
                    else if(
SelectCharPlace[playerid] == 5) { SetPlayerSkin(playeridJoinPed[62][0]); SelectCharPlace[playerid] = 6ChosenSkin[playerid] = JoinPed[62][0]; }
                    else if(
SelectCharPlace[playerid] == 6) { SetPlayerSkin(playeridJoinPed[63][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = JoinPed[63][0]; }
                }
                case 
16//East Side Bloods
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid28); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = 28; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid67); SelectCharPlace[playerid] = 3ChosenSkin[playerid] = 67; }
                    else if(
SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid22); SelectCharPlace[playerid] = 4ChosenSkin[playerid] = 22; }
                    else if(
SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid180); SelectCharPlace[playerid] = 5ChosenSkin[playerid] = 180; }
                    else if(
SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid144); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = 144; }
                }
                case 
20//Male civilian (by Ellis)
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridCivMalePeds[1][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = CivMalePeds[1][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridCivMalePeds[2][0]); SelectCharPlace[playerid] = 3ChosenSkin[playerid] = CivMalePeds[2][0]; }
                    else if(
SelectCharPlace[playerid] == 3) { SetPlayerSkin(playeridCivMalePeds[3][0]); SelectCharPlace[playerid] = 4ChosenSkin[playerid] = CivMalePeds[3][0]; }
                    else if(
SelectCharPlace[playerid] == 4) { SetPlayerSkin(playeridCivMalePeds[4][0]); SelectCharPlace[playerid] = 5ChosenSkin[playerid] = CivMalePeds[4][0]; }
                    else if(
SelectCharPlace[playerid] == 5) { SetPlayerSkin(playeridCivMalePeds[5][0]); SelectCharPlace[playerid] = 6ChosenSkin[playerid] = CivMalePeds[5][0]; }
                    else if(
SelectCharPlace[playerid] == 6) { SetPlayerSkin(playeridCivMalePeds[6][0]); SelectCharPlace[playerid] = 7ChosenSkin[playerid] = CivMalePeds[6][0]; }
                    else if(
SelectCharPlace[playerid] == 7) { SetPlayerSkin(playeridCivMalePeds[7][0]); SelectCharPlace[playerid] = 8ChosenSkin[playerid] = CivMalePeds[7][0]; }
                    else if(
SelectCharPlace[playerid] == 8) { SetPlayerSkin(playeridCivMalePeds[8][0]); SelectCharPlace[playerid] = 9ChosenSkin[playerid] = CivMalePeds[8][0]; }
                    else if(
SelectCharPlace[playerid] == 9) { SetPlayerSkin(playeridCivMalePeds[9][0]); SelectCharPlace[playerid] = 10ChosenSkin[playerid] = CivMalePeds[9][0]; }
                    else if(
SelectCharPlace[playerid] == 10) { SetPlayerSkin(playeridCivMalePeds[10][0]); SelectCharPlace[playerid] = 11ChosenSkin[playerid] = CivMalePeds[10][0]; }
                    else if(
SelectCharPlace[playerid] == 11) { SetPlayerSkin(playeridCivMalePeds[11][0]); SelectCharPlace[playerid] = 12ChosenSkin[playerid] = CivMalePeds[11][0]; }
                    else if(
SelectCharPlace[playerid] == 12) { SetPlayerSkin(playeridCivMalePeds[12][0]); SelectCharPlace[playerid] = 13ChosenSkin[playerid] = CivMalePeds[12][0]; }
                    else if(
SelectCharPlace[playerid] == 13) { SetPlayerSkin(playeridCivMalePeds[13][0]); SelectCharPlace[playerid] = 14ChosenSkin[playerid] = CivMalePeds[13][0]; }
                    else if(
SelectCharPlace[playerid] == 14) { SetPlayerSkin(playeridCivMalePeds[14][0]); SelectCharPlace[playerid] = 15ChosenSkin[playerid] = CivMalePeds[14][0]; }
                    else if(
SelectCharPlace[playerid] == 15) { SetPlayerSkin(playeridCivMalePeds[15][0]); SelectCharPlace[playerid] = 16ChosenSkin[playerid] = CivMalePeds[15][0]; }
                    else if(
SelectCharPlace[playerid] == 16) { SetPlayerSkin(playeridCivMalePeds[16][0]); SelectCharPlace[playerid] = 17ChosenSkin[playerid] = CivMalePeds[16][0]; }
                    else if(
SelectCharPlace[playerid] == 17) { SetPlayerSkin(playeridCivMalePeds[17][0]); SelectCharPlace[playerid] = 18ChosenSkin[playerid] = CivMalePeds[17][0]; }
                    else if(
SelectCharPlace[playerid] == 18) { SetPlayerSkin(playeridCivMalePeds[18][0]); SelectCharPlace[playerid] = 19ChosenSkin[playerid] = CivMalePeds[18][0]; }
                    else if(
SelectCharPlace[playerid] == 19) { SetPlayerSkin(playeridCivMalePeds[19][0]); SelectCharPlace[playerid] = 20ChosenSkin[playerid] = CivMalePeds[19][0]; }
                    else if(
SelectCharPlace[playerid] == 20) { SetPlayerSkin(playeridCivMalePeds[20][0]); SelectCharPlace[playerid] = 21ChosenSkin[playerid] = CivMalePeds[20][0]; }
                    else if(
SelectCharPlace[playerid] == 21) { SetPlayerSkin(playeridCivMalePeds[21][0]); SelectCharPlace[playerid] = 22ChosenSkin[playerid] = CivMalePeds[21][0]; }
                    else if(
SelectCharPlace[playerid] == 22) { SetPlayerSkin(playeridCivMalePeds[22][0]); SelectCharPlace[playerid] = 23ChosenSkin[playerid] = CivMalePeds[22][0]; }
                    else if(
SelectCharPlace[playerid] == 23) { SetPlayerSkin(playeridCivMalePeds[23][0]); SelectCharPlace[playerid] = 24ChosenSkin[playerid] = CivMalePeds[23][0]; }
                    else if(
SelectCharPlace[playerid] == 24) { SetPlayerSkin(playeridCivMalePeds[24][0]); SelectCharPlace[playerid] = 25ChosenSkin[playerid] = CivMalePeds[24][0]; }
                    else if(
SelectCharPlace[playerid] == 25) { SetPlayerSkin(playeridCivMalePeds[25][0]); SelectCharPlace[playerid] = 26ChosenSkin[playerid] = CivMalePeds[25][0]; }
                    else if(
SelectCharPlace[playerid] == 26) { SetPlayerSkin(playeridCivMalePeds[26][0]); SelectCharPlace[playerid] = 27ChosenSkin[playerid] = CivMalePeds[26][0]; }
                    else if(
SelectCharPlace[playerid] == 27) { SetPlayerSkin(playeridCivMalePeds[27][0]); SelectCharPlace[playerid] = 28ChosenSkin[playerid] = CivMalePeds[27][0]; }
                    else if(
SelectCharPlace[playerid] == 28) { SetPlayerSkin(playeridCivMalePeds[28][0]); SelectCharPlace[playerid] = 29ChosenSkin[playerid] = CivMalePeds[28][0]; }
                    else if(
SelectCharPlace[playerid] == 29) { SetPlayerSkin(playeridCivMalePeds[29][0]); SelectCharPlace[playerid] = 30ChosenSkin[playerid] = CivMalePeds[29][0]; }
                    else if(
SelectCharPlace[playerid] == 30) { SetPlayerSkin(playeridCivMalePeds[30][0]); SelectCharPlace[playerid] = 31ChosenSkin[playerid] = CivMalePeds[30][0]; }
                    else if(
SelectCharPlace[playerid] == 31) { SetPlayerSkin(playeridCivMalePeds[31][0]); SelectCharPlace[playerid] = 32ChosenSkin[playerid] = CivMalePeds[31][0]; }
                    else if(
SelectCharPlace[playerid] == 32) { SetPlayerSkin(playeridCivMalePeds[32][0]); SelectCharPlace[playerid] = 33ChosenSkin[playerid] = CivMalePeds[32][0]; }
                    else if(
SelectCharPlace[playerid] == 33) { SetPlayerSkin(playeridCivMalePeds[33][0]); SelectCharPlace[playerid] = 34ChosenSkin[playerid] = CivMalePeds[33][0]; }
                    else if(
SelectCharPlace[playerid] == 34) { SetPlayerSkin(playeridCivMalePeds[34][0]); SelectCharPlace[playerid] = 35ChosenSkin[playerid] = CivMalePeds[34][0]; }
                    else if(
SelectCharPlace[playerid] == 35) { SetPlayerSkin(playeridCivMalePeds[35][0]); SelectCharPlace[playerid] = 36ChosenSkin[playerid] = CivMalePeds[35][0]; }
                    else if(
SelectCharPlace[playerid] == 36) { SetPlayerSkin(playeridCivMalePeds[36][0]); SelectCharPlace[playerid] = 37ChosenSkin[playerid] = CivMalePeds[36][0]; }
                    else if(
SelectCharPlace[playerid] == 37) { SetPlayerSkin(playeridCivMalePeds[37][0]); SelectCharPlace[playerid] = 38ChosenSkin[playerid] = CivMalePeds[37][0]; }
                    else if(
SelectCharPlace[playerid] == 38) { SetPlayerSkin(playeridCivMalePeds[38][0]); SelectCharPlace[playerid] = 39ChosenSkin[playerid] = CivMalePeds[38][0]; }
                    else if(
SelectCharPlace[playerid] == 39) { SetPlayerSkin(playeridCivMalePeds[39][0]); SelectCharPlace[playerid] = 40ChosenSkin[playerid] = CivMalePeds[39][0]; }
                    else if(
SelectCharPlace[playerid] == 40) { SetPlayerSkin(playeridCivMalePeds[40][0]); SelectCharPlace[playerid] = 41ChosenSkin[playerid] = CivMalePeds[40][0]; }
                    else if(
SelectCharPlace[playerid] == 41) { SetPlayerSkin(playeridCivMalePeds[41][0]); SelectCharPlace[playerid] = 42ChosenSkin[playerid] = CivMalePeds[41][0]; }
                    else if(
SelectCharPlace[playerid] == 42) { SetPlayerSkin(playeridCivMalePeds[42][0]); SelectCharPlace[playerid] = 43ChosenSkin[playerid] = CivMalePeds[42][0]; }
                    else if(
SelectCharPlace[playerid] == 43) { SetPlayerSkin(playeridCivMalePeds[43][0]); SelectCharPlace[playerid] = 44ChosenSkin[playerid] = CivMalePeds[43][0]; }
                    else if(
SelectCharPlace[playerid] == 44) { SetPlayerSkin(playeridCivMalePeds[44][0]); SelectCharPlace[playerid] = 45ChosenSkin[playerid] = CivMalePeds[44][0]; }
                    else if(
SelectCharPlace[playerid] == 45) { SetPlayerSkin(playeridCivMalePeds[45][0]); SelectCharPlace[playerid] = 46ChosenSkin[playerid] = CivMalePeds[45][0]; }
                    else if(
SelectCharPlace[playerid] == 46) { SetPlayerSkin(playeridCivMalePeds[46][0]); SelectCharPlace[playerid] = 47ChosenSkin[playerid] = CivMalePeds[46][0]; }
                    else if(
SelectCharPlace[playerid] == 47) { SetPlayerSkin(playeridCivMalePeds[47][0]); SelectCharPlace[playerid] = 48ChosenSkin[playerid] = CivMalePeds[47][0]; }
                    else if(
SelectCharPlace[playerid] == 48) { SetPlayerSkin(playeridCivMalePeds[48][0]); SelectCharPlace[playerid] = 49ChosenSkin[playerid] = CivMalePeds[48][0]; }
                    else if(
SelectCharPlace[playerid] == 49) { SetPlayerSkin(playeridCivMalePeds[49][0]); SelectCharPlace[playerid] = 50ChosenSkin[playerid] = CivMalePeds[49][0]; }
                    else if(
SelectCharPlace[playerid] == 50) { SetPlayerSkin(playeridCivMalePeds[50][0]); SelectCharPlace[playerid] = 51ChosenSkin[playerid] = CivMalePeds[50][0]; }
                    else if(
SelectCharPlace[playerid] == 51) { SetPlayerSkin(playeridCivMalePeds[51][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = CivMalePeds[51][0]; }
                }
                case 
30//Female civilian (by Ellis)
                
{
                    if(
SelectCharPlace[playerid] == 1) { SetPlayerSkin(playeridCivFemalePeds[1][0]); SelectCharPlace[playerid] = 2ChosenSkin[playerid] = CivFemalePeds[1][0]; }
                    else if(
SelectCharPlace[playerid] == 2) { SetPlayerSkin(playeridCivFemalePeds[2][0]); SelectCharPlace[playerid] = 3ChosenSkin[playerid] = CivFemalePeds[2][0]; }
                    else if(
SelectCharPlace[playerid] == 3) { SetPlayerSkin(playeridCivFemalePeds[3][0]); SelectCharPlace[playerid] = 4ChosenSkin[playerid] = CivFemalePeds[3][0]; }
                    else if(
SelectCharPlace[playerid] == 4) { SetPlayerSkin(playeridCivFemalePeds[4][0]); SelectCharPlace[playerid] = 5ChosenSkin[playerid] = CivFemalePeds[4][0]; }
                    else if(
SelectCharPlace[playerid] == 5) { SetPlayerSkin(playeridCivFemalePeds[5][0]); SelectCharPlace[playerid] = 6ChosenSkin[playerid] = CivFemalePeds[5][0]; }
                    else if(
SelectCharPlace[playerid] == 6) { SetPlayerSkin(playeridCivFemalePeds[6][0]); SelectCharPlace[playerid] = 7ChosenSkin[playerid] = CivFemalePeds[6][0]; }
                    else if(
SelectCharPlace[playerid] == 7) { SetPlayerSkin(playeridCivFemalePeds[7][0]); SelectCharPlace[playerid] = 8ChosenSkin[playerid] = CivFemalePeds[7][0]; }
                    else if(
SelectCharPlace[playerid] == 8) { SetPlayerSkin(playeridCivFemalePeds[8][0]); SelectCharPlace[playerid] = 9ChosenSkin[playerid] = CivFemalePeds[8][0]; }
                    else if(
SelectCharPlace[playerid] == 9) { SetPlayerSkin(playeridCivFemalePeds[9][0]); SelectCharPlace[playerid] = 10ChosenSkin[playerid] = CivFemalePeds[9][0]; }
                    else if(
SelectCharPlace[playerid] == 10) { SetPlayerSkin(playeridCivFemalePeds[10][0]); SelectCharPlace[playerid] = 11ChosenSkin[playerid] = CivFemalePeds[10][0]; }
                    else if(
SelectCharPlace[playerid] == 11) { SetPlayerSkin(playeridCivFemalePeds[11][0]); SelectCharPlace[playerid] = 12ChosenSkin[playerid] = CivFemalePeds[11][0]; }
                    else if(
SelectCharPlace[playerid] == 12) { SetPlayerSkin(playeridCivFemalePeds[12][0]); SelectCharPlace[playerid] = 13ChosenSkin[playerid] = CivFemalePeds[12][0]; }
                    else if(
SelectCharPlace[playerid] == 13) { SetPlayerSkin(playeridCivFemalePeds[13][0]); SelectCharPlace[playerid] = 14ChosenSkin[playerid] = CivFemalePeds[13][0]; }
                    else if(
SelectCharPlace[playerid] == 14) { SetPlayerSkin(playeridCivFemalePeds[14][0]); SelectCharPlace[playerid] = 15ChosenSkin[playerid] = CivFemalePeds[14][0]; }
                    else if(
SelectCharPlace[playerid] == 15) { SetPlayerSkin(playeridCivFemalePeds[15][0]); SelectCharPlace[playerid] = 16ChosenSkin[playerid] = CivFemalePeds[15][0]; }
                    else if(
SelectCharPlace[playerid] == 16) { SetPlayerSkin(playeridCivFemalePeds[16][0]); SelectCharPlace[playerid] = 17ChosenSkin[playerid] = CivFemalePeds[16][0]; }
                    else if(
SelectCharPlace[playerid] == 17) { SetPlayerSkin(playeridCivFemalePeds[17][0]); SelectCharPlace[playerid] = 18ChosenSkin[playerid] = CivFemalePeds[17][0]; }
                    else if(
SelectCharPlace[playerid] == 18) { SetPlayerSkin(playeridCivFemalePeds[18][0]); SelectCharPlace[playerid] = 19ChosenSkin[playerid] = CivFemalePeds[18][0]; }
                    else if(
SelectCharPlace[playerid] == 19) { SetPlayerSkin(playeridCivFemalePeds[19][0]); SelectCharPlace[playerid] = 20ChosenSkin[playerid] = CivFemalePeds[19][0]; }
                    else if(
SelectCharPlace[playerid] == 20) { SetPlayerSkin(playeridCivFemalePeds[20][0]); SelectCharPlace[playerid] = 21ChosenSkin[playerid] = CivFemalePeds[20][0]; }
                    else if(
SelectCharPlace[playerid] == 21) { SetPlayerSkin(playeridCivFemalePeds[21][0]); SelectCharPlace[playerid] = 22ChosenSkin[playerid] = CivFemalePeds[21][0]; }
                    else if(
SelectCharPlace[playerid] == 22) { SetPlayerSkin(playeridCivFemalePeds[22][0]); SelectCharPlace[playerid] = 23ChosenSkin[playerid] = CivFemalePeds[22][0]; }
                    else if(
SelectCharPlace[playerid] == 23) { SetPlayerSkin(playeridCivFemalePeds[23][0]); SelectCharPlace[playerid] = 24ChosenSkin[playerid] = CivFemalePeds[23][0]; }
                    else if(
SelectCharPlace[playerid] == 24) { SetPlayerSkin(playeridCivFemalePeds[24][0]); SelectCharPlace[playerid] = 25ChosenSkin[playerid] = CivFemalePeds[24][0]; }
                    else if(
SelectCharPlace[playerid] == 25) { SetPlayerSkin(playeridCivFemalePeds[25][0]); SelectCharPlace[playerid] = 26ChosenSkin[playerid] = CivFemalePeds[25][0]; }
                    else if(
SelectCharPlace[playerid] == 26) { SetPlayerSkin(playeridCivFemalePeds[26][0]); SelectCharPlace[playerid] = 27ChosenSkin[playerid] = CivFemalePeds[26][0]; }
                    else if(
SelectCharPlace[playerid] == 27) { SetPlayerSkin(playeridCivFemalePeds[27][0]); SelectCharPlace[playerid] = 28ChosenSkin[playerid] = CivFemalePeds[27][0]; }
                    else if(
SelectCharPlace[playerid] == 28) { SetPlayerSkin(playeridCivFemalePeds[28][0]); SelectCharPlace[playerid] = 29ChosenSkin[playerid] = CivFemalePeds[28][0]; }
                    else if(
SelectCharPlace[playerid] == 29) { SetPlayerSkin(playeridCivFemalePeds[29][0]); SelectCharPlace[playerid] = 30ChosenSkin[playerid] = CivFemalePeds[29][0]; }
                    else if(
SelectCharPlace[playerid] == 30) { SetPlayerSkin(playeridCivFemalePeds[30][0]); SelectCharPlace[playerid] = 31ChosenSkin[playerid] = CivFemalePeds[30][0]; }
                    else if(
SelectCharPlace[playerid] == 31) { SetPlayerSkin(playeridCivFemalePeds[31][0]); SelectCharPlace[playerid] = 32ChosenSkin[playerid] = CivFemalePeds[31][0]; }
                    else if(
SelectCharPlace[playerid] == 32) { SetPlayerSkin(playeridCivFemalePeds[32][0]); SelectCharPlace[playerid] = 1ChosenSkin[playerid] = CivFemalePeds[32][0]; }
                }
            }
            return 
0;
        }
        else if ((
strcmp("done"tmptruestrlen(tmp)) == 0) && (strlen(tmp) == strlen("done")))
        {
            if(
ChangePos2[playerid][1] == 1)
            {
                
SetPlayerInterior(playeridChangePos2[playerid][0]);
                
SetPlayerPos(playeridChangePos[playerid][0],ChangePos[playerid][1],ChangePos[playerid][2]);
                
ChangePos2[playerid][1] = 0;
                
//return 0;
            
}
            
MedicBill[playerid] = 0;
            
PlayerInfo[playerid][pModel] = ChosenSkin[playerid];
            
PlayerInfo[playerid][pChar] = ChosenSkin[playerid];
            
SetSpawnInfo(playeridPlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel],0.0,0.0,0.0,0,0,0,0,0,0,0);
            
gTeam[playerid] = PlayerInfo[playerid][pTeam];
            
SetPlayerToTeamColor(playerid);
            
MedicBill[playerid] = 0;
            
SpawnPlayer(playerid);
            
MedicBill[playerid] = 0;
            
SelectCharPlace[playerid] = 0;
            
SelectCharID[playerid] = 0;
            
SelectChar[playerid] = 0;
            
SetPlayerVirtualWorld(playerid,0);
            
SetTimerEx("backtoclothes"500false"i"playerid);
            
MedicBill[playerid] = 0;
            return 
0;
        }
        else
        {
            
SendClientMessage(playeridCOLOR_WHITE"* Use 'next', or 'done'.");
            return 
0;
        }
    } 
agradeзo dou rep++
Reply


Messages In This Thread
[Ajuda] Loja de Roupas - by [Dk]TuReTOo - 07.04.2012, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)