Problem with chat
#1

When player write something it wont show it , i mean all comands are working but if he write something in normal chat it wont show

here is OnPlayerText

pawn Код:
public OnPlayerText(playerid, text[])
{
    new giver[MAX_PLAYER_NAME];
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new tmp[256];
    new string[256];
    new giveplayerid;
    if(PlayerInfo[playerid][pMuted] == 1)
    {
        SendClientMessage(playerid, TEAM_CYAN_COLOR, "Ne mozete pricati, oduzeto vam je pravo govora");
        return 0;
    }
    if(SelectChar[playerid] == 255)
    {
        new idx;
        tmp = strtok(text, idx);
        if ((strcmp("next", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("next")))
        {
            switch (SelectCharID[playerid])
            {
            case 1: //PD skinovi
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 0); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 0; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 1); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 1; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 2); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 2; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 3); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 3; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 4); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 4; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 5); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 5; }
                    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, 6); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = 6; }
                    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, 7); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = 7; }
                    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, 8); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = 8; }
                    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, 9); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = 9; }
                    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, 10); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = 10; }
                }
                case 2: //FBI skinovi
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 11); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 11; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 12); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 12; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 13); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 13; }
                }
                case 3: //SWAT skinovi
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 14); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 14; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 15); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 15; }
                }
                case 4: //MD skinovi
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 16); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 16; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 17); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 17; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 18); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 18; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 19); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 19; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 20); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 20; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 21); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 21; }
                    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, 22); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = 22; }
                }
                case 5: //Yakuza
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 25); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 25; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 26); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 26; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 27); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 27; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 28); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 28; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 29); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 29; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 30); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 30; }
                }
                /*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 7:
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 93); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 35; }
                }
                case 8: //Hitman
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 30); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 30; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 241); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 241; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 221); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 221; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 33); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 33; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 249); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 249; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 184); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 184; }
                }
                case 9: //News Reporters
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 43); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 43; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 44); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 44; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 45); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 45; }
                }
                case 10: //Taxi Cab Company
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 46); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 46; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 47); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 47; }
                }
                case 11: //Driving/Flying School
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 48); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 48; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 49); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 49; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 50); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 50; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 51); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 51; }
                }
                    case 12: //latinoboys
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 108); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 108; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 109); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 109; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 110); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 110; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 114); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 114; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 116); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 116; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 174); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 174; }
}
                    case 13: //miga sintagra
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 20); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 20; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 29); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 29; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 98); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 98; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 46); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 46; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 112); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 112; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 294); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 294; }
}
                /*case 14: //Yamaguchi1
                {
                    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: //surenos1
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 114); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 114; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 115); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 115; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 116); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 116; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 173); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 173; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 174); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 174; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 175); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 175; }
                }
                case 16: //Ballas
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 208); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 208; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 102); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 102; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 103); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 103; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 104); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 104; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 19); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 19; }
                                        else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 296); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 296; }
                }

case 17://SALVATORES
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[16][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[16][0]; }
}
    case 18://Mexican Mafia
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 175); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 175; }
if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 176); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 176; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 177); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 177; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 102); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 102; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 103); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 103; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 185); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 185; }
}
    case 19://groove
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 293); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 293; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 105); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 105; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 106); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 106; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 107); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 107; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 269); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 269; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 270); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 270; }
}
   
                case 20: //Male civilian (by Ellis)
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, CivMalePeds[1][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = CivMalePeds[1][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, CivMalePeds[2][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = CivMalePeds[2][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, CivMalePeds[3][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = CivMalePeds[3][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, CivMalePeds[4][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = CivMalePeds[4][0]; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, CivMalePeds[5][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = CivMalePeds[5][0]; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, CivMalePeds[6][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = CivMalePeds[6][0]; }
                    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, CivMalePeds[7][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = CivMalePeds[7][0]; }
                    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, CivMalePeds[8][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = CivMalePeds[8][0]; }
                    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, CivMalePeds[9][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = CivMalePeds[9][0]; }
                    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, CivMalePeds[10][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = CivMalePeds[10][0]; }
                    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, CivMalePeds[11][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = CivMalePeds[11][0]; }
                    else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, CivMalePeds[12][0]); SelectCharPlace[playerid] = 13; ChosenSkin[playerid] = CivMalePeds[12][0]; }
                    else if(SelectCharPlace[playerid] == 13) { SetPlayerSkin(playerid, CivMalePeds[13][0]); SelectCharPlace[playerid] = 14; ChosenSkin[playerid] = CivMalePeds[13][0]; }
                    else if(SelectCharPlace[playerid] == 14) { SetPlayerSkin(playerid, CivMalePeds[14][0]); SelectCharPlace[playerid] = 15; ChosenSkin[playerid] = CivMalePeds[14][0]; }
                    else if(SelectCharPlace[playerid] == 15) { SetPlayerSkin(playerid, CivMalePeds[15][0]); SelectCharPlace[playerid] = 16; ChosenSkin[playerid] = CivMalePeds[15][0]; }
                    else if(SelectCharPlace[playerid] == 16) { SetPlayerSkin(playerid, CivMalePeds[16][0]); SelectCharPlace[playerid] = 17; ChosenSkin[playerid] = CivMalePeds[16][0]; }
                    else if(SelectCharPlace[playerid] == 17) { SetPlayerSkin(playerid, CivMalePeds[17][0]); SelectCharPlace[playerid] = 18; ChosenSkin[playerid] = CivMalePeds[17][0]; }
                    else if(SelectCharPlace[playerid] == 18) { SetPlayerSkin(playerid, CivMalePeds[18][0]); SelectCharPlace[playerid] = 19; ChosenSkin[playerid] = CivMalePeds[18][0]; }
                    else if(SelectCharPlace[playerid] == 19) { SetPlayerSkin(playerid, CivMalePeds[19][0]); SelectCharPlace[playerid] = 20; ChosenSkin[playerid] = CivMalePeds[19][0]; }
                    else if(SelectCharPlace[playerid] == 20) { SetPlayerSkin(playerid, CivMalePeds[20][0]); SelectCharPlace[playerid] = 21; ChosenSkin[playerid] = CivMalePeds[20][0]; }
                    else if(SelectCharPlace[playerid] == 21) { SetPlayerSkin(playerid, CivMalePeds[21][0]); SelectCharPlace[playerid] = 22; ChosenSkin[playerid] = CivMalePeds[21][0]; }
                    else if(SelectCharPlace[playerid] == 22) { SetPlayerSkin(playerid, CivMalePeds[22][0]); SelectCharPlace[playerid] = 23; ChosenSkin[playerid] = CivMalePeds[22][0]; }
                    else if(SelectCharPlace[playerid] == 23) { SetPlayerSkin(playerid, CivMalePeds[23][0]); SelectCharPlace[playerid] = 24; ChosenSkin[playerid] = CivMalePeds[23][0]; }
                    else if(SelectCharPlace[playerid] == 24) { SetPlayerSkin(playerid, CivMalePeds[24][0]); SelectCharPlace[playerid] = 25; ChosenSkin[playerid] = CivMalePeds[24][0]; }
                    else if(SelectCharPlace[playerid] == 25) { SetPlayerSkin(playerid, CivMalePeds[25][0]); SelectCharPlace[playerid] = 26; ChosenSkin[playerid] = CivMalePeds[25][0]; }
                    else if(SelectCharPlace[playerid] == 26) { SetPlayerSkin(playerid, CivMalePeds[26][0]); SelectCharPlace[playerid] = 27; ChosenSkin[playerid] = CivMalePeds[26][0]; }
                    else if(SelectCharPlace[playerid] == 27) { SetPlayerSkin(playerid, CivMalePeds[27][0]); SelectCharPlace[playerid] = 28; ChosenSkin[playerid] = CivMalePeds[27][0]; }
                    else if(SelectCharPlace[playerid] == 28) { SetPlayerSkin(playerid, CivMalePeds[28][0]); SelectCharPlace[playerid] = 29; ChosenSkin[playerid] = CivMalePeds[28][0]; }
                    else if(SelectCharPlace[playerid] == 29) { SetPlayerSkin(playerid, CivMalePeds[29][0]); SelectCharPlace[playerid] = 30; ChosenSkin[playerid] = CivMalePeds[29][0]; }
                    else if(SelectCharPlace[playerid] == 30) { SetPlayerSkin(playerid, CivMalePeds[30][0]); SelectCharPlace[playerid] = 31; ChosenSkin[playerid] = CivMalePeds[30][0]; }
                    else if(SelectCharPlace[playerid] == 31) { SetPlayerSkin(playerid, CivMalePeds[31][0]); SelectCharPlace[playerid] = 32; ChosenSkin[playerid] = CivMalePeds[31][0]; }
                    else if(SelectCharPlace[playerid] == 32) { SetPlayerSkin(playerid, CivMalePeds[32][0]); SelectCharPlace[playerid] = 33; ChosenSkin[playerid] = CivMalePeds[32][0]; }
                    else if(SelectCharPlace[playerid] == 33) { SetPlayerSkin(playerid, CivMalePeds[33][0]); SelectCharPlace[playerid] = 34; ChosenSkin[playerid] = CivMalePeds[33][0]; }
                    else if(SelectCharPlace[playerid] == 34) { SetPlayerSkin(playerid, CivMalePeds[34][0]); SelectCharPlace[playerid] = 35; ChosenSkin[playerid] = CivMalePeds[34][0]; }
                    else if(SelectCharPlace[playerid] == 35) { SetPlayerSkin(playerid, CivMalePeds[35][0]); SelectCharPlace[playerid] = 36; ChosenSkin[playerid] = CivMalePeds[35][0]; }
                    else if(SelectCharPlace[playerid] == 36) { SetPlayerSkin(playerid, CivMalePeds[36][0]); SelectCharPlace[playerid] = 37; ChosenSkin[playerid] = CivMalePeds[36][0]; }
                    else if(SelectCharPlace[playerid] == 37) { SetPlayerSkin(playerid, CivMalePeds[37][0]); SelectCharPlace[playerid] = 38; ChosenSkin[playerid] = CivMalePeds[37][0]; }
                    else if(SelectCharPlace[playerid] == 38) { SetPlayerSkin(playerid, CivMalePeds[38][0]); SelectCharPlace[playerid] = 39; ChosenSkin[playerid] = CivMalePeds[38][0]; }
                    else if(SelectCharPlace[playerid] == 39) { SetPlayerSkin(playerid, CivMalePeds[39][0]); SelectCharPlace[playerid] = 40; ChosenSkin[playerid] = CivMalePeds[39][0]; }
                    else if(SelectCharPlace[playerid] == 40) { SetPlayerSkin(playerid, CivMalePeds[40][0]); SelectCharPlace[playerid] = 41; ChosenSkin[playerid] = CivMalePeds[40][0]; }
                    else if(SelectCharPlace[playerid] == 41) { SetPlayerSkin(playerid, CivMalePeds[41][0]); SelectCharPlace[playerid] = 42; ChosenSkin[playerid] = CivMalePeds[41][0]; }
                    else if(SelectCharPlace[playerid] == 42) { SetPlayerSkin(playerid, CivMalePeds[42][0]); SelectCharPlace[playerid] = 43; ChosenSkin[playerid] = CivMalePeds[42][0]; }
                    else if(SelectCharPlace[playerid] == 43) { SetPlayerSkin(playerid, CivMalePeds[43][0]); SelectCharPlace[playerid] = 44; ChosenSkin[playerid] = CivMalePeds[43][0]; }
                    else if(SelectCharPlace[playerid] == 44) { SetPlayerSkin(playerid, CivMalePeds[44][0]); SelectCharPlace[playerid] = 45; ChosenSkin[playerid] = CivMalePeds[44][0]; }
                    else if(SelectCharPlace[playerid] == 45) { SetPlayerSkin(playerid, CivMalePeds[45][0]); SelectCharPlace[playerid] = 46; ChosenSkin[playerid] = CivMalePeds[45][0]; }
                    else if(SelectCharPlace[playerid] == 46) { SetPlayerSkin(playerid, CivMalePeds[46][0]); SelectCharPlace[playerid] = 47; ChosenSkin[playerid] = CivMalePeds[46][0]; }
                    else if(SelectCharPlace[playerid] == 47) { SetPlayerSkin(playerid, CivMalePeds[47][0]); SelectCharPlace[playerid] = 48; ChosenSkin[playerid] = CivMalePeds[47][0]; }
                    else if(SelectCharPlace[playerid] == 48) { SetPlayerSkin(playerid, CivMalePeds[48][0]); SelectCharPlace[playerid] = 49; ChosenSkin[playerid] = CivMalePeds[48][0]; }
                    else if(SelectCharPlace[playerid] == 49) { SetPlayerSkin(playerid, CivMalePeds[49][0]); SelectCharPlace[playerid] = 50; ChosenSkin[playerid] = CivMalePeds[49][0]; }
                    else if(SelectCharPlace[playerid] == 50) { SetPlayerSkin(playerid, CivMalePeds[50][0]); SelectCharPlace[playerid] = 51; ChosenSkin[playerid] = CivMalePeds[50][0]; }
                    else if(SelectCharPlace[playerid] == 51) { SetPlayerSkin(playerid, CivMalePeds[51][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = CivMalePeds[51][0]; }
                }
                case 30: //Female civilian (by Ellis)
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, CivFemalePeds[1][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = CivFemalePeds[1][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, CivFemalePeds[2][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = CivFemalePeds[2][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, CivFemalePeds[3][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = CivFemalePeds[3][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, CivFemalePeds[4][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = CivFemalePeds[4][0]; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, CivFemalePeds[5][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = CivFemalePeds[5][0]; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, CivFemalePeds[6][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = CivFemalePeds[6][0]; }
                    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, CivFemalePeds[7][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = CivFemalePeds[7][0]; }
                    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, CivFemalePeds[8][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = CivFemalePeds[8][0]; }
                    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, CivFemalePeds[9][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = CivFemalePeds[9][0]; }
                    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, CivFemalePeds[10][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = CivFemalePeds[10][0]; }
                    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, CivFemalePeds[11][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = CivFemalePeds[11][0]; }
                    else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, CivFemalePeds[12][0]); SelectCharPlace[playerid] = 13; ChosenSkin[playerid] = CivFemalePeds[12][0]; }
                    else if(SelectCharPlace[playerid] == 13) { SetPlayerSkin(playerid, CivFemalePeds[13][0]); SelectCharPlace[playerid] = 14; ChosenSkin[playerid] = CivFemalePeds[13][0]; }
                    else if(SelectCharPlace[playerid] == 14) { SetPlayerSkin(playerid, CivFemalePeds[14][0]); SelectCharPlace[playerid] = 15; ChosenSkin[playerid] = CivFemalePeds[14][0]; }
                    else if(SelectCharPlace[playerid] == 15) { SetPlayerSkin(playerid, CivFemalePeds[15][0]); SelectCharPlace[playerid] = 16; ChosenSkin[playerid] = CivFemalePeds[15][0]; }
                    else if(SelectCharPlace[playerid] == 16) { SetPlayerSkin(playerid, CivFemalePeds[16][0]); SelectCharPlace[playerid] = 17; ChosenSkin[playerid] = CivFemalePeds[16][0]; }
                    else if(SelectCharPlace[playerid] == 17) { SetPlayerSkin(playerid, CivFemalePeds[17][0]); SelectCharPlace[playerid] = 18; ChosenSkin[playerid] = CivFemalePeds[17][0]; }
                    else if(SelectCharPlace[playerid] == 18) { SetPlayerSkin(playerid, CivFemalePeds[18][0]); SelectCharPlace[playerid] = 19; ChosenSkin[playerid] = CivFemalePeds[18][0]; }
                    else if(SelectCharPlace[playerid] == 19) { SetPlayerSkin(playerid, CivFemalePeds[19][0]); SelectCharPlace[playerid] = 20; ChosenSkin[playerid] = CivFemalePeds[19][0]; }
                    else if(SelectCharPlace[playerid] == 20) { SetPlayerSkin(playerid, CivFemalePeds[20][0]); SelectCharPlace[playerid] = 21; ChosenSkin[playerid] = CivFemalePeds[20][0]; }
                    else if(SelectCharPlace[playerid] == 21) { SetPlayerSkin(playerid, CivFemalePeds[21][0]); SelectCharPlace[playerid] = 22; ChosenSkin[playerid] = CivFemalePeds[21][0]; }
                    else if(SelectCharPlace[playerid] == 22) { SetPlayerSkin(playerid, CivFemalePeds[22][0]); SelectCharPlace[playerid] = 23; ChosenSkin[playerid] = CivFemalePeds[22][0]; }
                    else if(SelectCharPlace[playerid] == 23) { SetPlayerSkin(playerid, CivFemalePeds[23][0]); SelectCharPlace[playerid] = 24; ChosenSkin[playerid] = CivFemalePeds[23][0]; }
                    else if(SelectCharPlace[playerid] == 24) { SetPlayerSkin(playerid, CivFemalePeds[24][0]); SelectCharPlace[playerid] = 25; ChosenSkin[playerid] = CivFemalePeds[24][0]; }
                    else if(SelectCharPlace[playerid] == 25) { SetPlayerSkin(playerid, CivFemalePeds[25][0]); SelectCharPlace[playerid] = 26; ChosenSkin[playerid] = CivFemalePeds[25][0]; }
                    else if(SelectCharPlace[playerid] == 26) { SetPlayerSkin(playerid, CivFemalePeds[26][0]); SelectCharPlace[playerid] = 27; ChosenSkin[playerid] = CivFemalePeds[26][0]; }
                    else if(SelectCharPlace[playerid] == 27) { SetPlayerSkin(playerid, CivFemalePeds[27][0]); SelectCharPlace[playerid] = 28; ChosenSkin[playerid] = CivFemalePeds[27][0]; }
                    else if(SelectCharPlace[playerid] == 28) { SetPlayerSkin(playerid, CivFemalePeds[28][0]); SelectCharPlace[playerid] = 29; ChosenSkin[playerid] = CivFemalePeds[28][0]; }
                    else if(SelectCharPlace[playerid] == 29) { SetPlayerSkin(playerid, CivFemalePeds[29][0]); SelectCharPlace[playerid] = 30; ChosenSkin[playerid] = CivFemalePeds[29][0]; }
                    else if(SelectCharPlace[playerid] == 30) { SetPlayerSkin(playerid, CivFemalePeds[30][0]); SelectCharPlace[playerid] = 31; ChosenSkin[playerid] = CivFemalePeds[30][0]; }
                    else if(SelectCharPlace[playerid] == 31) { SetPlayerSkin(playerid, CivFemalePeds[31][0]); SelectCharPlace[playerid] = 32; ChosenSkin[playerid] = CivFemalePeds[31][0]; }
                    else if(SelectCharPlace[playerid] == 32) { SetPlayerSkin(playerid, CivFemalePeds[32][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = CivFemalePeds[32][0]; }
                }

            }
            return 0;
        }
        else if ((strcmp("done", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("done")))
        {
            if(ChangePos2[playerid][1] == 1)
            {
                SetPlayerInterior(playerid, ChangePos2[playerid][0]);
                JBC_SetPlayerPos(playerid, ChangePos[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];
            JBC_SetSpawnInfo(playerid, PlayerInfo[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", 1000, false, "i", playerid);
            MedicBill[playerid] = 0;
            return 0;
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "* Kucaj 'next', ili 'done'.");
            return 0;
        }
}
    if(RegistrationStep[playerid] > 0)
    {
        if(RegistrationStep[playerid] == 1)
        {
            new idx;
            tmp = strtok(text, idx);
            if((strcmp("musko", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("musko")))
            {
                PlayerInfo[playerid][pSex] = 1;
                ClearChatbox(playerid, 8);
  ShowPlayerDialog(playerid,15002,DIALOG_STYLE_LIST,"koliko imate godina?","10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30","Uredu","Izadji");
                ClearChatbox(playerid, 2);
                new maleskin;
                maleskin = random(sizeof(CivMalePeds));
                SetPlayerSkin(playerid, maleskin);
                PlayerInfo[playerid][pChar] = maleskin;
                RegistrationStep[playerid] = 2;
                return 0;
            }
           
            return 0;
        }
Reply
#2

pawn Код:
public OnPlayerText(playerid, text[])
{
    new giver[MAX_PLAYER_NAME];
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new tmp[256];
    new string[256];
    new giveplayerid;
    if(PlayerInfo[playerid][pMuted] == 1)
    {
        SendClientMessage(playerid, TEAM_CYAN_COLOR, "Ne mozete pricati, oduzeto vam je pravo govora");
        return 0;
    }
    if(SelectChar[playerid] == 255)
    {
        new idx;
        tmp = strtok(text, idx);
        if ((strcmp("next", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("next")))
        {
            switch (SelectCharID[playerid])
            {
            case 1: //PD skinovi
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 0); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 0; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 1); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 1; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 2); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 2; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 3); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 3; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 4); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 4; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 5); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 5; }
                    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, 6); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = 6; }
                    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, 7); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = 7; }
                    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, 8); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = 8; }
                    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, 9); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = 9; }
                    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, 10); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = 10; }
                }
                case 2: //FBI skinovi
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 11); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 11; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 12); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 12; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 13); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 13; }
                }
                case 3: //SWAT skinovi
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 14); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 14; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 15); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 15; }
                }
                case 4: //MD skinovi
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 16); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 16; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 17); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 17; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 18); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 18; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 19); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 19; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 20); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 20; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 21); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 21; }
                    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, 22); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = 22; }
                }
                case 5: //Yakuza
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 25); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 25; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 26); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 26; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 27); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 27; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 28); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 28; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 29); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 29; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 30); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 30; }
                }
                /*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 7:
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 93); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 35; }
                }
                case 8: //Hitman
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 30); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 30; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 241); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 241; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 221); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 221; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 33); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 33; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 249); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 249; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 184); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 184; }
                }
                case 9: //News Reporters
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 43); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 43; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 44); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 44; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 45); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 45; }
                }
                case 10: //Taxi Cab Company
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 46); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 46; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 47); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 47; }
                }
                case 11: //Driving/Flying School
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 48); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 48; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 49); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 49; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 50); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 50; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 51); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 51; }
                }
                    case 12: //latinoboys
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 108); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 108; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 109); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 109; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 110); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 110; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 114); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 114; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 116); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 116; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 174); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 174; }
}
                    case 13: //miga sintagra
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 20); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 20; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 29); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 29; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 98); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 98; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 46); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 46; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 112); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 112; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 294); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 294; }
}
                /*case 14: //Yamaguchi1
                {
                    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: //surenos1
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 114); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 114; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 115); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 115; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 116); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 116; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 173); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 173; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 174); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 174; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 175); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 175; }
                }
                case 16: //Ballas
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 208); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 208; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 102); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 102; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 103); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 103; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 104); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 104; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 19); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 19; }
                                        else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 296); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 296; }
                }

case 17://SALVATORES
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[16][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[16][0]; }
}
    case 18://Mexican Mafia
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 175); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 175; }
if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 176); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 176; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 177); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 177; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 102); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 102; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 103); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 103; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 185); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 185; }
}
    case 19://groove
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 293); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 293; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 105); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 105; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 106); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 106; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 107); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 107; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 269); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 269; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 270); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 270; }
}
   
                case 20: //Male civilian (by Ellis)
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, CivMalePeds[1][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = CivMalePeds[1][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, CivMalePeds[2][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = CivMalePeds[2][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, CivMalePeds[3][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = CivMalePeds[3][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, CivMalePeds[4][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = CivMalePeds[4][0]; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, CivMalePeds[5][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = CivMalePeds[5][0]; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, CivMalePeds[6][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = CivMalePeds[6][0]; }
                    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, CivMalePeds[7][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = CivMalePeds[7][0]; }
                    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, CivMalePeds[8][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = CivMalePeds[8][0]; }
                    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, CivMalePeds[9][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = CivMalePeds[9][0]; }
                    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, CivMalePeds[10][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = CivMalePeds[10][0]; }
                    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, CivMalePeds[11][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = CivMalePeds[11][0]; }
                    else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, CivMalePeds[12][0]); SelectCharPlace[playerid] = 13; ChosenSkin[playerid] = CivMalePeds[12][0]; }
                    else if(SelectCharPlace[playerid] == 13) { SetPlayerSkin(playerid, CivMalePeds[13][0]); SelectCharPlace[playerid] = 14; ChosenSkin[playerid] = CivMalePeds[13][0]; }
                    else if(SelectCharPlace[playerid] == 14) { SetPlayerSkin(playerid, CivMalePeds[14][0]); SelectCharPlace[playerid] = 15; ChosenSkin[playerid] = CivMalePeds[14][0]; }
                    else if(SelectCharPlace[playerid] == 15) { SetPlayerSkin(playerid, CivMalePeds[15][0]); SelectCharPlace[playerid] = 16; ChosenSkin[playerid] = CivMalePeds[15][0]; }
                    else if(SelectCharPlace[playerid] == 16) { SetPlayerSkin(playerid, CivMalePeds[16][0]); SelectCharPlace[playerid] = 17; ChosenSkin[playerid] = CivMalePeds[16][0]; }
                    else if(SelectCharPlace[playerid] == 17) { SetPlayerSkin(playerid, CivMalePeds[17][0]); SelectCharPlace[playerid] = 18; ChosenSkin[playerid] = CivMalePeds[17][0]; }
                    else if(SelectCharPlace[playerid] == 18) { SetPlayerSkin(playerid, CivMalePeds[18][0]); SelectCharPlace[playerid] = 19; ChosenSkin[playerid] = CivMalePeds[18][0]; }
                    else if(SelectCharPlace[playerid] == 19) { SetPlayerSkin(playerid, CivMalePeds[19][0]); SelectCharPlace[playerid] = 20; ChosenSkin[playerid] = CivMalePeds[19][0]; }
                    else if(SelectCharPlace[playerid] == 20) { SetPlayerSkin(playerid, CivMalePeds[20][0]); SelectCharPlace[playerid] = 21; ChosenSkin[playerid] = CivMalePeds[20][0]; }
                    else if(SelectCharPlace[playerid] == 21) { SetPlayerSkin(playerid, CivMalePeds[21][0]); SelectCharPlace[playerid] = 22; ChosenSkin[playerid] = CivMalePeds[21][0]; }
                    else if(SelectCharPlace[playerid] == 22) { SetPlayerSkin(playerid, CivMalePeds[22][0]); SelectCharPlace[playerid] = 23; ChosenSkin[playerid] = CivMalePeds[22][0]; }
                    else if(SelectCharPlace[playerid] == 23) { SetPlayerSkin(playerid, CivMalePeds[23][0]); SelectCharPlace[playerid] = 24; ChosenSkin[playerid] = CivMalePeds[23][0]; }
                    else if(SelectCharPlace[playerid] == 24) { SetPlayerSkin(playerid, CivMalePeds[24][0]); SelectCharPlace[playerid] = 25; ChosenSkin[playerid] = CivMalePeds[24][0]; }
                    else if(SelectCharPlace[playerid] == 25) { SetPlayerSkin(playerid, CivMalePeds[25][0]); SelectCharPlace[playerid] = 26; ChosenSkin[playerid] = CivMalePeds[25][0]; }
                    else if(SelectCharPlace[playerid] == 26) { SetPlayerSkin(playerid, CivMalePeds[26][0]); SelectCharPlace[playerid] = 27; ChosenSkin[playerid] = CivMalePeds[26][0]; }
                    else if(SelectCharPlace[playerid] == 27) { SetPlayerSkin(playerid, CivMalePeds[27][0]); SelectCharPlace[playerid] = 28; ChosenSkin[playerid] = CivMalePeds[27][0]; }
                    else if(SelectCharPlace[playerid] == 28) { SetPlayerSkin(playerid, CivMalePeds[28][0]); SelectCharPlace[playerid] = 29; ChosenSkin[playerid] = CivMalePeds[28][0]; }
                    else if(SelectCharPlace[playerid] == 29) { SetPlayerSkin(playerid, CivMalePeds[29][0]); SelectCharPlace[playerid] = 30; ChosenSkin[playerid] = CivMalePeds[29][0]; }
                    else if(SelectCharPlace[playerid] == 30) { SetPlayerSkin(playerid, CivMalePeds[30][0]); SelectCharPlace[playerid] = 31; ChosenSkin[playerid] = CivMalePeds[30][0]; }
                    else if(SelectCharPlace[playerid] == 31) { SetPlayerSkin(playerid, CivMalePeds[31][0]); SelectCharPlace[playerid] = 32; ChosenSkin[playerid] = CivMalePeds[31][0]; }
                    else if(SelectCharPlace[playerid] == 32) { SetPlayerSkin(playerid, CivMalePeds[32][0]); SelectCharPlace[playerid] = 33; ChosenSkin[playerid] = CivMalePeds[32][0]; }
                    else if(SelectCharPlace[playerid] == 33) { SetPlayerSkin(playerid, CivMalePeds[33][0]); SelectCharPlace[playerid] = 34; ChosenSkin[playerid] = CivMalePeds[33][0]; }
                    else if(SelectCharPlace[playerid] == 34) { SetPlayerSkin(playerid, CivMalePeds[34][0]); SelectCharPlace[playerid] = 35; ChosenSkin[playerid] = CivMalePeds[34][0]; }
                    else if(SelectCharPlace[playerid] == 35) { SetPlayerSkin(playerid, CivMalePeds[35][0]); SelectCharPlace[playerid] = 36; ChosenSkin[playerid] = CivMalePeds[35][0]; }
                    else if(SelectCharPlace[playerid] == 36) { SetPlayerSkin(playerid, CivMalePeds[36][0]); SelectCharPlace[playerid] = 37; ChosenSkin[playerid] = CivMalePeds[36][0]; }
                    else if(SelectCharPlace[playerid] == 37) { SetPlayerSkin(playerid, CivMalePeds[37][0]); SelectCharPlace[playerid] = 38; ChosenSkin[playerid] = CivMalePeds[37][0]; }
                    else if(SelectCharPlace[playerid] == 38) { SetPlayerSkin(playerid, CivMalePeds[38][0]); SelectCharPlace[playerid] = 39; ChosenSkin[playerid] = CivMalePeds[38][0]; }
                    else if(SelectCharPlace[playerid] == 39) { SetPlayerSkin(playerid, CivMalePeds[39][0]); SelectCharPlace[playerid] = 40; ChosenSkin[playerid] = CivMalePeds[39][0]; }
                    else if(SelectCharPlace[playerid] == 40) { SetPlayerSkin(playerid, CivMalePeds[40][0]); SelectCharPlace[playerid] = 41; ChosenSkin[playerid] = CivMalePeds[40][0]; }
                    else if(SelectCharPlace[playerid] == 41) { SetPlayerSkin(playerid, CivMalePeds[41][0]); SelectCharPlace[playerid] = 42; ChosenSkin[playerid] = CivMalePeds[41][0]; }
                    else if(SelectCharPlace[playerid] == 42) { SetPlayerSkin(playerid, CivMalePeds[42][0]); SelectCharPlace[playerid] = 43; ChosenSkin[playerid] = CivMalePeds[42][0]; }
                    else if(SelectCharPlace[playerid] == 43) { SetPlayerSkin(playerid, CivMalePeds[43][0]); SelectCharPlace[playerid] = 44; ChosenSkin[playerid] = CivMalePeds[43][0]; }
                    else if(SelectCharPlace[playerid] == 44) { SetPlayerSkin(playerid, CivMalePeds[44][0]); SelectCharPlace[playerid] = 45; ChosenSkin[playerid] = CivMalePeds[44][0]; }
                    else if(SelectCharPlace[playerid] == 45) { SetPlayerSkin(playerid, CivMalePeds[45][0]); SelectCharPlace[playerid] = 46; ChosenSkin[playerid] = CivMalePeds[45][0]; }
                    else if(SelectCharPlace[playerid] == 46) { SetPlayerSkin(playerid, CivMalePeds[46][0]); SelectCharPlace[playerid] = 47; ChosenSkin[playerid] = CivMalePeds[46][0]; }
                    else if(SelectCharPlace[playerid] == 47) { SetPlayerSkin(playerid, CivMalePeds[47][0]); SelectCharPlace[playerid] = 48; ChosenSkin[playerid] = CivMalePeds[47][0]; }
                    else if(SelectCharPlace[playerid] == 48) { SetPlayerSkin(playerid, CivMalePeds[48][0]); SelectCharPlace[playerid] = 49; ChosenSkin[playerid] = CivMalePeds[48][0]; }
                    else if(SelectCharPlace[playerid] == 49) { SetPlayerSkin(playerid, CivMalePeds[49][0]); SelectCharPlace[playerid] = 50; ChosenSkin[playerid] = CivMalePeds[49][0]; }
                    else if(SelectCharPlace[playerid] == 50) { SetPlayerSkin(playerid, CivMalePeds[50][0]); SelectCharPlace[playerid] = 51; ChosenSkin[playerid] = CivMalePeds[50][0]; }
                    else if(SelectCharPlace[playerid] == 51) { SetPlayerSkin(playerid, CivMalePeds[51][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = CivMalePeds[51][0]; }
                }
                case 30: //Female civilian (by Ellis)
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, CivFemalePeds[1][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = CivFemalePeds[1][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, CivFemalePeds[2][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = CivFemalePeds[2][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, CivFemalePeds[3][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = CivFemalePeds[3][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, CivFemalePeds[4][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = CivFemalePeds[4][0]; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, CivFemalePeds[5][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = CivFemalePeds[5][0]; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, CivFemalePeds[6][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = CivFemalePeds[6][0]; }
                    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, CivFemalePeds[7][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = CivFemalePeds[7][0]; }
                    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, CivFemalePeds[8][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = CivFemalePeds[8][0]; }
                    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, CivFemalePeds[9][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = CivFemalePeds[9][0]; }
                    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, CivFemalePeds[10][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = CivFemalePeds[10][0]; }
                    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, CivFemalePeds[11][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = CivFemalePeds[11][0]; }
                    else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, CivFemalePeds[12][0]); SelectCharPlace[playerid] = 13; ChosenSkin[playerid] = CivFemalePeds[12][0]; }
                    else if(SelectCharPlace[playerid] == 13) { SetPlayerSkin(playerid, CivFemalePeds[13][0]); SelectCharPlace[playerid] = 14; ChosenSkin[playerid] = CivFemalePeds[13][0]; }
                    else if(SelectCharPlace[playerid] == 14) { SetPlayerSkin(playerid, CivFemalePeds[14][0]); SelectCharPlace[playerid] = 15; ChosenSkin[playerid] = CivFemalePeds[14][0]; }
                    else if(SelectCharPlace[playerid] == 15) { SetPlayerSkin(playerid, CivFemalePeds[15][0]); SelectCharPlace[playerid] = 16; ChosenSkin[playerid] = CivFemalePeds[15][0]; }
                    else if(SelectCharPlace[playerid] == 16) { SetPlayerSkin(playerid, CivFemalePeds[16][0]); SelectCharPlace[playerid] = 17; ChosenSkin[playerid] = CivFemalePeds[16][0]; }
                    else if(SelectCharPlace[playerid] == 17) { SetPlayerSkin(playerid, CivFemalePeds[17][0]); SelectCharPlace[playerid] = 18; ChosenSkin[playerid] = CivFemalePeds[17][0]; }
                    else if(SelectCharPlace[playerid] == 18) { SetPlayerSkin(playerid, CivFemalePeds[18][0]); SelectCharPlace[playerid] = 19; ChosenSkin[playerid] = CivFemalePeds[18][0]; }
                    else if(SelectCharPlace[playerid] == 19) { SetPlayerSkin(playerid, CivFemalePeds[19][0]); SelectCharPlace[playerid] = 20; ChosenSkin[playerid] = CivFemalePeds[19][0]; }
                    else if(SelectCharPlace[playerid] == 20) { SetPlayerSkin(playerid, CivFemalePeds[20][0]); SelectCharPlace[playerid] = 21; ChosenSkin[playerid] = CivFemalePeds[20][0]; }
                    else if(SelectCharPlace[playerid] == 21) { SetPlayerSkin(playerid, CivFemalePeds[21][0]); SelectCharPlace[playerid] = 22; ChosenSkin[playerid] = CivFemalePeds[21][0]; }
                    else if(SelectCharPlace[playerid] == 22) { SetPlayerSkin(playerid, CivFemalePeds[22][0]); SelectCharPlace[playerid] = 23; ChosenSkin[playerid] = CivFemalePeds[22][0]; }
                    else if(SelectCharPlace[playerid] == 23) { SetPlayerSkin(playerid, CivFemalePeds[23][0]); SelectCharPlace[playerid] = 24; ChosenSkin[playerid] = CivFemalePeds[23][0]; }
                    else if(SelectCharPlace[playerid] == 24) { SetPlayerSkin(playerid, CivFemalePeds[24][0]); SelectCharPlace[playerid] = 25; ChosenSkin[playerid] = CivFemalePeds[24][0]; }
                    else if(SelectCharPlace[playerid] == 25) { SetPlayerSkin(playerid, CivFemalePeds[25][0]); SelectCharPlace[playerid] = 26; ChosenSkin[playerid] = CivFemalePeds[25][0]; }
                    else if(SelectCharPlace[playerid] == 26) { SetPlayerSkin(playerid, CivFemalePeds[26][0]); SelectCharPlace[playerid] = 27; ChosenSkin[playerid] = CivFemalePeds[26][0]; }
                    else if(SelectCharPlace[playerid] == 27) { SetPlayerSkin(playerid, CivFemalePeds[27][0]); SelectCharPlace[playerid] = 28; ChosenSkin[playerid] = CivFemalePeds[27][0]; }
                    else if(SelectCharPlace[playerid] == 28) { SetPlayerSkin(playerid, CivFemalePeds[28][0]); SelectCharPlace[playerid] = 29; ChosenSkin[playerid] = CivFemalePeds[28][0]; }
                    else if(SelectCharPlace[playerid] == 29) { SetPlayerSkin(playerid, CivFemalePeds[29][0]); SelectCharPlace[playerid] = 30; ChosenSkin[playerid] = CivFemalePeds[29][0]; }
                    else if(SelectCharPlace[playerid] == 30) { SetPlayerSkin(playerid, CivFemalePeds[30][0]); SelectCharPlace[playerid] = 31; ChosenSkin[playerid] = CivFemalePeds[30][0]; }
                    else if(SelectCharPlace[playerid] == 31) { SetPlayerSkin(playerid, CivFemalePeds[31][0]); SelectCharPlace[playerid] = 32; ChosenSkin[playerid] = CivFemalePeds[31][0]; }
                    else if(SelectCharPlace[playerid] == 32) { SetPlayerSkin(playerid, CivFemalePeds[32][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = CivFemalePeds[32][0]; }
                }

            }
            return 0;
        }
        else if ((strcmp("done", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("done")))
        {
            if(ChangePos2[playerid][1] == 1)
            {
                SetPlayerInterior(playerid, ChangePos2[playerid][0]);
                JBC_SetPlayerPos(playerid, ChangePos[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];
            JBC_SetSpawnInfo(playerid, PlayerInfo[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", 1000, false, "i", playerid);
            MedicBill[playerid] = 0;
            return 0;
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "* Kucaj 'next', ili 'done'.");
            return 0;
        }
}
    if(RegistrationStep[playerid] > 0)
    {
        if(RegistrationStep[playerid] == 1)
        {
            new idx;
            tmp = strtok(text, idx);
            if((strcmp("musko", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("musko")))
            {
                PlayerInfo[playerid][pSex] = 1;
                ClearChatbox(playerid, 8);
  ShowPlayerDialog(playerid,15002,DIALOG_STYLE_LIST,"koliko imate godina?","10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30","Uredu","Izadji");
                ClearChatbox(playerid, 2);
                new maleskin;
                maleskin = random(sizeof(CivMalePeds));
                SetPlayerSkin(playerid, maleskin);
                PlayerInfo[playerid][pChar] = maleskin;
                RegistrationStep[playerid] = 2;
                return 0;
            }
           
            return 1;
        }
Reply
#3

what are you changed here? :S
Reply
#4

You had OnPlayerText return 0, which would in simple terms, not display anything a player typed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)