[Ajuda] JoinPed
#7

Coloca assim no inicio

pawn Код:
new JoinPed[][1] =
{
    {280},//PMLV 00
    {281},//PMLV 01
    {211},//PMLV Mulher 02
    {272},//Polнcia Civil 03
    {258},//Polнcia Civil 04
    {93},//Polнcia Civil Mulher 05
    {287},//Exйrcito 06
    {191},//Exйrcito Mulher 07
    {274},//Medico 8
    {275},//Medico 9
    {276},//Medico 10
    {148},//Medica 11
    {114},//Varrios Los Aztecas 12
    {115},//Varrios Los Aztecas 13
    {116},//Varrios Los Aztecas 14
    {56},//Varrios Los Aztecas Mulher 15
    {73},//GRI 16
    {73},//GRI 17
    {191},//GRI Mulher 18
    {186},//Governo 19
    {76},//Governo Mulher 20
    {120},//Hitmans 21
    {124},//Hitmans 22
    {93},//Hitmans Mulher 23
    {234},//San News 24
    {217},//San News 25
    {233},//San News Mulher 26
    {266},//PMLS 27
    {211},//PMLS Mulher 28
    {267},//PMLS 29
    {275},//Marinha 30
    {211},//Marinha Mulher 31
    {134},//Piratas 32
    {239},//Piratas 33
    {136},//Piratas 34
    {131},//Piratas Mulher 35
    {108},//Los Santos Vagos 36
    {109},//Los Santos Vagos 37
    {110},//Los Santos Vagos 38
    {190},//Los Santos Vagos Mulher 39
    {187},//Mбfia Siciliana 40
    {228},// Mбfia Siciliana 41
    {55},//Mбfia Siciliana Feminino 42
    {105},//Grove Street 43
    {106},//Grove Street 44
    {107},//Grove Street 45
    {269},//Grove Street 46
    {271},//Grove Street 47
    {207},//Grove Street Mulher 48
    {102},//Front Yard Ballas 49
    {103},//Front Yard Ballas 50
    {104},//Front Yard Ballas 51
    {13},//Front Yard Ballas Mulher 52
    {111},//Russian Mafia 53
    {112},//Russian Mafia 54
    {141}//Russian Mafia Mulher 55
};
E assim no fim
pawn Код:
if (SelectChar[playerid] == 255)
    {
        new idx;
        tmp = strtok(text, idx);
        if ((strcmp("Proximo", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("Proximo")))
        {
            switch (SelectCharID[playerid])
            {
                case 1: //Policia Militar LV
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[0][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[1][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[2][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[2][0]; }
                }
                case 2: //Policia Civil
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[3][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[3][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[4][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[4][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[5][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[5][0]; }
                }
                case 3: //Exйrcito
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[6][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[6][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[7][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[7][0]; }
                }
                case 4: //Medicos
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[8][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[8][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[9][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[9][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[10][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[10][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[11][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[11][0]; }
                }
                case 5: //Los Aztecas
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[12][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[12][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[13][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[13][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[14][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[14][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[15][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[15][0]; }
                }
                case 6: //GRI
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[16][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[16][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[17][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[17][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[18][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[18][0]; }
                }
                case 7: //GOVERNO
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[19][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[19][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[20][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[20][0]; }
                }
                case 8: //Hitmans
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[21][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[21][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[22][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[22][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[23][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[23][0]; }
                }
                case 9: //San News
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[24][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[24][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[25][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[25][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[26][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[26][0]; }
                }
                case 10: //Marinha
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[27][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[27][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[28][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[28][0]; }
                }
                case 11: //Policia Militar LS
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[29][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[29][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[30][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[30][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[31][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[31][0]; }
                }
                case 12: //Vagos
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[32][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[32][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[33][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[33][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[34][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[34][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[45][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[45][0]; }
                }
                case 13: //Piratas
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[46][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[46][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[47][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[47][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[48][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[48][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[49][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[49][0]; }
                }
                case 14: //Mafia
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[50][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[50][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[51][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[51][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[52][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[52][0]; }
                }
                case 15: //Grove Street
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[53][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[53][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[54][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[54][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[55][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[55][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[56][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[56][0]; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid,JoinPed[57][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[57][0]; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid,JoinPed[58][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[58][0]; }
                }
                case 16: //Front Yard Ballas
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[59][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[59][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[60][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[60][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[61][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[61][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[62][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[62][0]; }
                }
                case 17: //Mafia
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[63][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[63][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[64][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[64][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[65][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[65][0]; }
                }
            }
            return 0;
        }
Reply


Messages In This Thread
JoinPed - by SukMathcuck - 24.10.2014, 20:57
Re: JoinPed - by ReyMysterio - 24.10.2014, 21:00
Re: JoinPed - by SukMathcuck - 24.10.2014, 21:07
Re: JoinPed - by ReyMysterio - 24.10.2014, 21:19
Re: JoinPed - by SukMathcuck - 24.10.2014, 21:26
Re: JoinPed - by SukMathcuck - 24.10.2014, 21:29
Re: JoinPed - by ReyMysterio - 24.10.2014, 21:39
Re: JoinPed - by SukMathcuck - 24.10.2014, 21:48
Re: JoinPed - by ReyMysterio - 24.10.2014, 21:50
Re: JoinPed - by SukMathcuck - 24.10.2014, 21:52

Forum Jump:


Users browsing this thread: 1 Guest(s)