[Ajuda] JoinPed
#1

Olб pessoal, й urgente, nunca consegui consertar este bug, qual o erro? й o seguinte tenho um JoinPed aqui mais tб dando erro, mais acho que desbugei.

erros:
Код:
C:\samp03\gamemodes\BUL.pwn(47156) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47156) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47157) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47157) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47158) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47158) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47162) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47162) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47163) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47163) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47164) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47164) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47165) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47165) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47169) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47169) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47170) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47170) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn() : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47171) : error 032: array index out of bounds (variable "JoinPed")
Reply
#2

Poste o que estб nessas linhas.
Reply
#3

Код:
new JoinPed[56][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
};
Parte dos erros:
Код:
	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;
		}
Acho que alйm de estб com erro estб bugado, ou nгo?
Reply
#4

Nгo tenho o cуdigo completo e as linhas que estб bugando mas tenta trocar o JoinPed para isto (nгo sei se vai funfar):

pawn Код:
new JoinPed[56][] = {
ou toca por esse

pawn Код:
new JoinPed[56] =
{
    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 remove o ъlltimo parвmetro [0]
Reply
#5

Vou tentar.
Reply
#6

Nгo deu certo, e o erro persiste:

Код HTML:
C:\samp03\gamemodes\BUL.pwn(5433) : warning 213: tag mismatch
C:\samp03\gamemodes\BUL.pwn(5434) : warning 213: tag mismatch
C:\samp03\gamemodes\BUL.pwn(47161) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47161) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47162) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47162) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47163) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47163) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47167) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47167) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47168) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47168) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47169) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47169) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47170) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47170) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47174) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47174) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47175) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47175) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47176) : error 032: array index out of bounds (variable "JoinPed")
C:\samp03\gamemodes\BUL.pwn(47176) : error 032: array index out of bounds (variable "JoinPed")
Код:
			switch (SelectCharID[playerid]) //Linha: 47069
			{
				case 1: //Policia Militar LV
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[0]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[1]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[1]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[2]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[2]; }
				}
				case 2: //Policia Civil
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[3]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[3]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[4]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[4]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[5]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[5]; }
    			}
				case 3: //Exйrcito
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[6]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[6]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[7]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[7]; }
				}
				case 4: //Medicos
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[8]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[8]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[9]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[9]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[10]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[10]; }
				    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[11]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[11]; }
				}
				case 5: //Los Aztecas
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[12]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[12]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[13]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[13]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[14]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[14]; }
				    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[15]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[15]; }
				}
				case 6: //GRI
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[16]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[16]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[17]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[17]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[18]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[18]; }
				}
				case 7: //GOVERNO
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[19]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[19]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[20]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[20]; }
				}
				case 8: //Hitmans
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[21]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[21]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[22]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[22]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[23]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[23]; }
				}
				case 9: //San News
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[24]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[24]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[25]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[25]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[26]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[26]; }
				}
				case 10: //Marinha
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[27]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[27]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[28]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[28]; }
				}
				case 11: //Policia Militar LS
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[29]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[29]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[30]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[30]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[31]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[31]; }
				}
				case 12: //Vagos
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[32]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[32]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[33]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[33]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[34]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[34]; }
				    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[45]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[45]; }
				}
				case 13: //Piratas
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[46]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[46]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[47]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[47]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[48]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[48]; }
				    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[49]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[49]; }
				}
				case 14: //Mafia
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[50]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[50]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[51]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[51]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[52]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[52]; }
				}
				case 15: //Grove Street
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[53]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[53]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[54]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[54]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[55]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[55]; }
				    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[56]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[56]; }
				    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid,JoinPed[57]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[57]; }
				    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid,JoinPed[58]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[58]; }
				}
				case 16: //Front Yard Ballas
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[59]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[59]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[60]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[60]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[61]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[61]; }
				    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid,JoinPed[62]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[62]; }
				}
				case 17: //Mafia
				{
				    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid,JoinPed[63]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[63]; }
				    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid,JoinPed[64]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[64]; }
				    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid,JoinPed[65]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[65]; }
				}
			}
			return 0;
		}//Linha: 47180
Reply
#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
#8

Vou tentar aae, se der certo, vlw !!!!!
Reply
#9

Deu certo ?
Reply
#10

afs, que raiva, que cъ de erro, o erro persiste.
Mesmos erros.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)