[ajuda] coisa simples -
aleex995 - 28.02.2012
fale galera, to tentando a horas fazer com q o cуdigo abaixo, avise quando o player spawnar, tipo 'O Jogador tal vai jogar na Gang tal'...o problema й que para as outras gangs ele diz a mesma coisa da primeira, sendo q nгo eh a Gang dos Bozo...
No topo
pawn Код:
static PlayerTeamFix[MAX_PLAYERS] = {NO_TEAM,...};
stock GetPlayerTeamFix(playerid)
{
return PlayerTeamFix[playerid];
}
stock SetPlayerTeamEx(playerid,team)
{
PlayerTeamFix[playerid] = team;
SetPlayerTeam(playerid,team);
}
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
new nome[MAX_PLAYER_NAME];
new Gang[MAX_PLAYERS];
GetPlayerName(playerid, nome, sizeof(nome));
if(Gang[playerid] == 0)
{
format(stringx, sizeof(stringx), "%s vai jogar com a gang: Bozo James ", nome), SendClientMessageToAll(0x00FF00AA, stringx);
SetPlayerInterior(playerid,0);
SetPlayerColor(playerid, 0x0000FFAA);
SetPlayerTeamEx(playerid, 0);
}
else if(Gang[playerid] == 1)
{
format(stringx, sizeof(stringx), "%s vai jogar com a gang: Boyzinhos ", nome), SendClientMessageToAll(0x00FF00AA, stringx);
SetPlayerInterior(playerid,0);
SetPlayerColor(playerid, 0x008000AA);
SetPlayerTeamEx(playerid, 1);
}
return 1;
}
?
Re: [ajuda] coisa simples -
[LF]PlaYer_. - 28.02.2012
Faзa sua base
pawn Код:
//Topo
new GangMT[MAX_PLAYERS];
public OnPlayerRequestSpawn(playerid)
{
if(GangMT[playerid] == 0)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Bozo ", PlayerName(playerid)), SendClientMessageToAll(BOZOCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 1)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Boyzinhos ", PlayerName(playerid)), SendClientMessageToAll(BOYZINHOSCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 2)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Gate ", PlayerName(playerid)), SendClientMessageToAll(SWATCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 3)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Militares ", PlayerName(playerid)), SendClientMessageToAll(ARMYSCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 4)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Chineses ", PlayerName(playerid)), SendClientMessageToAll(CHINESCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 5)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Frango ", PlayerName(playerid)), SendClientMessageToAll(FRANGOCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 6)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Agentes ", PlayerName(playerid)), SendClientMessageToAll(AGENTECOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 7)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Noias ", PlayerName(playerid)), SendClientMessageToAll(NOIASCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 8)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Gangsters", PlayerName(playerid)), SendClientMessageToAll(AZTECASCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 9)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: CowBoys ", PlayerName(playerid)), SendClientMessageToAll(COWBOYSCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 10)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Cj ", PlayerName(playerid)), SendClientMessageToAll(GROVECOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 11)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Ballas ", PlayerName(playerid)), SendClientMessageToAll(BALLASCOLOR, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
else if(GangMT[playerid] == 12)
{
format(stringx, sizeof(stringx), "%s vai joga com a gang: Motoqueiros ", PlayerName(playerid)), SendClientMessageToAll(0x000253AA, stringx);
SetPlayerInterior(playerid,0);
return 1;
}
return 1;
}
Re: [ajuda] coisa simples -
aleex995 - 28.02.2012
Quote:
Originally Posted by [LF]PlaYer_.
Faзa sua base
pawn Код:
//Topo new GangMT[MAX_PLAYERS];
public OnPlayerRequestSpawn(playerid) { if(GangMT[playerid] == 0) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Bozo ", PlayerName(playerid)), SendClientMessageToAll(BOZOCOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 1) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Boyzinhos ", PlayerName(playerid)), SendClientMessageToAll(BOYZINHOSCOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 2) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Gate ", PlayerName(playerid)), SendClientMessageToAll(SWATCOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 3) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Militares ", PlayerName(playerid)), SendClientMessageToAll(ARMYSCOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 4) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Chineses ", PlayerName(playerid)), SendClientMessageToAll(CHINESCOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 5) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Frango ", PlayerName(playerid)), SendClientMessageToAll(FRANGOCOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 6) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Agentes ", PlayerName(playerid)), SendClientMessageToAll(AGENTECOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 7) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Noias ", PlayerName(playerid)), SendClientMessageToAll(NOIASCOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 8) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Gangsters", PlayerName(playerid)), SendClientMessageToAll(AZTECASCOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 9) { format(stringx, sizeof(stringx), "%s vai joga com a gang: CowBoys ", PlayerName(playerid)), SendClientMessageToAll(COWBOYSCOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 10) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Cj ", PlayerName(playerid)), SendClientMessageToAll(GROVECOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 11) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Ballas ", PlayerName(playerid)), SendClientMessageToAll(BALLASCOLOR, stringx); SetPlayerInterior(playerid,0); return 1; } else if(GangMT[playerid] == 12) { format(stringx, sizeof(stringx), "%s vai joga com a gang: Motoqueiros ", PlayerName(playerid)), SendClientMessageToAll(0x000253AA, stringx); SetPlayerInterior(playerid,0); return 1; } return 1; }
|
Nгo funcionou cara, quando escolho dos boyzinhos aparece Bozo.
Re: [ajuda] coisa simples -
[LF]PlaYer_. - 28.02.2012
ow manin eu falei pra vocк fazer a base. entгo vocк tem q alterar o Gang[playerid] == NUMERO
por o numero da gang .-.
Re: [ajuda] coisa simples -
GuiihCamargo - 28.02.2012
Entгo cara, ae vocк vai ter que ir testando e mudando os nomes!
й so mudar os nomes e a cor...
Re: [ajuda] coisa simples -
aleex995 - 28.02.2012
Quote:
Originally Posted by [LF]PlaYer_.
ow manin eu falei pra vocк fazer a base. entгo vocк tem q alterar o Gang[playerid] == NUMERO
por o numero da gang .-.
|
Manoooooooooo e vc acha que eu nгo isso, nгo funciona...
Re: [ajuda] coisa simples -
GuiihCamargo - 28.02.2012
Se quiser me passe os nomes numerados das gangs que eu faзo pra vocк!
Ex:
1 - Bozo
2 - Cj
3 - Boyzinhos
...........
Re: [ajuda] coisa simples -
aleex995 - 28.02.2012
Quote:
Originally Posted by GuiihCamargo
Se quiser me passe os nomes numerados das gangs que eu faзo pra vocк!
Ex:
1 - Bozo
2 - Cj
3 - Boyzinhos
...........
|
Essas sгo as gangs:
pawn Код:
if(!classid)
{
GameTextForPlayer(playerid, "~p~GANG DOS BOZO JAMES~n~~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x80FF0096);
globD1C0[playerid] = 0;
globDE40[playerid] = 1;
SetPlayerTeam(playerid, 0);
}
else if(classid == 1)
{
GameTextForPlayer(playerid, " ~p~GANG DOS BOYZINHOS ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x80000096);
globD1C0[playerid] = 1;
globDE40[playerid] = 2;
SetPlayerTeam(playerid, 1);
}
else if(classid == 2)
{
GameTextForPlayer(playerid, " ~p~GANG DOS BOYZINHOS ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x80000096);
globD1C0[playerid] = 1;
globDE40[playerid] = 2;
SetPlayerTeam(playerid, 1);
}
else if(classid == 3)
{
GameTextForPlayer(playerid, "~p~GANG DOS GATES~n~~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFF800096);
globD1C0[playerid] = 2;
globDE40[playerid] = 3;
SetPlayerTeam(playerid, 2);
}
else if(classid == 4)
{
GameTextForPlayer(playerid, " ~p~GANG DOS MILITARES ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x00008096);
globD1C0[playerid] = 3;
globDE40[playerid] = 4;
SetPlayerTeam(playerid, 3);
}
else if(classid == 5)
{
GameTextForPlayer(playerid, " ~p~GANG DOS CHINESES ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFF00FF96);
globD1C0[playerid] = 4;
globDE40[playerid] = 5;
SetPlayerTeam(playerid, 4);
}
else if(classid == 6)
{
GameTextForPlayer(playerid, " ~p~GANG DOS CHINESES ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFF00FF96);
globD1C0[playerid] = 4;
globDE40[playerid] = 5;
SetPlayerTeam(playerid, 4);
}
else if(classid == 7)
{
GameTextForPlayer(playerid, " ~p~GANG DOS FRANGOS ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFF000096);
globD1C0[playerid] = 5;
globDE40[playerid] = 6;
SetPlayerTeam(playerid, 5);
}
else if(classid == 8)
{
GameTextForPlayer(playerid, " ~p~GANG DOS AGENTES ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x80808096);
globD1C0[playerid] = 6;
globDE40[playerid] = 7;
SetPlayerTeam(playerid, 6);
}
else if(classid == 9)
{
GameTextForPlayer(playerid, " ~p~GANG DOS AGENTES ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x80808096);
globD1C0[playerid] = 6;
globDE40[playerid] = 7;
SetPlayerTeam(playerid, 6);
}
else if(classid == 10)
{
GameTextForPlayer(playerid, " ~p~GANG DOS NOIAS ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x0080FF96);
globD1C0[playerid] = 7;
globDE40[playerid] = 8;
SetPlayerTeam(playerid, 7);
}
else if(classid == 11)
{
GameTextForPlayer(playerid, " ~p~GANG DOS NOIAS ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x0080FF96);
globD1C0[playerid] = 7;
globDE40[playerid] = 8;
SetPlayerTeam(playerid, 7);
}
else if(classid == 12)
{
GameTextForPlayer(playerid, " ~p~GANG DOS NOIAS ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x0080FF96);
globD1C0[playerid] = 7;
globDE40[playerid] = 8;
SetPlayerTeam(playerid, 7);
}
else if(classid == 13)
{
GameTextForPlayer(playerid, " ~p~GANG DOS GANGSTERS ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFFFF0096);
globD1C0[playerid] = 8;
globDE40[playerid] = 10;
SetPlayerTeam(playerid, 9);
}
else if(classid == 14)
{
GameTextForPlayer(playerid, " ~p~GANG DOS GANGSTERS ~r~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFFFF0096);
globD1C0[playerid] = 8;
globDE40[playerid] = 10;
SetPlayerTeam(playerid, 9);
}
else if(classid == 15)
{
GameTextForPlayer(playerid, "~p~GANG DOS COVEIROS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x80400096);
globD1C0[playerid] = 9;
globDE40[playerid] = 11;
SetPlayerTeam(playerid, 10);
}
else if(classid == 16)
{
GameTextForPlayer(playerid, "~p~GANG DOS MANOBRISTAS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x00000096);
globD1C0[playerid] = 10;
globDE40[playerid] = 12;
SetPlayerTeam(playerid, 11);
}
else if(classid == 17)
{
GameTextForPlayer(playerid, "~p~GANG DOS MANOBRISTAS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x00000096);
globD1C0[playerid] = 10;
globDE40[playerid] = 12;
SetPlayerTeam(playerid, 11);
}
else if(classid == 18)
{
GameTextForPlayer(playerid, "~p~GANG DOS VAGOS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFFFF8096);
globD1C0[playerid] = 11;
globDE40[playerid] = 13;
SetPlayerTeam(playerid, 12);
}
else if(classid == 19)
{
GameTextForPlayer(playerid, "~p~GANG DOS VAGOS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFFFF8096);
globD1C0[playerid] = 11;
globDE40[playerid] = 13;
SetPlayerTeam(playerid, 12);
}
else if(classid == 20)
{
GameTextForPlayer(playerid, "~p~GANG DOS BALLAS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x80008096);
globD1C0[playerid] = 12;
globDE40[playerid] = 14;
SetPlayerTeam(playerid, 12);
}
else if(classid == 21)
{
GameTextForPlayer(playerid, "~p~GANG DOS BALLAS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x80008096);
globD1C0[playerid] = 12;
globDE40[playerid] = 14;
SetPlayerTeam(playerid, 12);
}
else if(classid == 22)
{
GameTextForPlayer(playerid, "~p~GANG DO CJ~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x00800096);
globD1C0[playerid] = 13;
globDE40[playerid] = 15;
SetPlayerTeam(playerid, 13);
}
else if(classid == 23)
{
GameTextForPlayer(playerid, "~p~GANG DO CJ~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x00800096);
globD1C0[playerid] = 13;
globDE40[playerid] = 15;
SetPlayerTeam(playerid, 13);
}
else if(classid == 24)
{
GameTextForPlayer(playerid, "~p~GANG DO CJ~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x00800096);
globD1C0[playerid] = 13;
globDE40[playerid] = 15;
SetPlayerTeam(playerid, 13);
}
else if(classid == 25)
{
GameTextForPlayer(playerid, "~p~GANG DOS PIRATAS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x00FFFF96);
globD1C0[playerid] = 14;
globDE40[playerid] = 16;
SetPlayerTeam(playerid, 14);
}
else if(classid == 26)
{
GameTextForPlayer(playerid, "~p~GANG DOS MENDINGOS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFFFFFF96);
globD1C0[playerid] = 15;
globDE40[playerid] = 17;
SetPlayerTeam(playerid, 15);
}
else if(classid == 27)
{
GameTextForPlayer(playerid, "~p~GANG DOS MENDINGOS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFFFFFF96);
globD1C0[playerid] = 15;
globDE40[playerid] = 17;
SetPlayerTeam(playerid, 15);
}
else if(classid == 28)
{
GameTextForPlayer(playerid, "~p~GANG DA MAFIA ITALIANA~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFF808096);
globD1C0[playerid] = 16;
globDE40[playerid] = 18;
SetPlayerTeam(playerid, 16);
}
else if(classid == 29)
{
GameTextForPlayer(playerid, "~p~GANG DA MAFIA ITALIANA~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFF808096);
globD1C0[playerid] = 16;
globDE40[playerid] = 18;
SetPlayerTeam(playerid, 16);
}
else if(classid == 30)
{
GameTextForPlayer(playerid, "~p~GANG DA MAFIA ITALIANA~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xFF808096);
globD1C0[playerid] = 16;
globDE40[playerid] = 18;
SetPlayerTeam(playerid, 16);
}
else if(classid == 31)
{
GameTextForPlayer(playerid, "~p~GANG DOS TRAFICANTES~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xDC143CAA);
globD1C0[playerid] = 17;
globDE40[playerid] = 19;
SetPlayerTeam(playerid, 17);
}
else if(classid == 32)
{
GameTextForPlayer(playerid, "~p~GANG DOS TRAFICANTES~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xDC143CAA);
globD1C0[playerid] = 17;
globDE40[playerid] = 19;
SetPlayerTeam(playerid, 17);
}
else if(classid == 33)
{
GameTextForPlayer(playerid, "~p~GANG DOS TRAFICANTES~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0xDC143CAA);
globD1C0[playerid] = 17;
globDE40[playerid] = 19;
SetPlayerTeam(playerid, 17);
}
else if(classid == 34)
{
GameTextForPlayer(playerid, "~p~GANG DOS BAD BOYS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x00A3C0AA);
globD1C0[playerid] = 18;
globDE40[playerid] = 20;
SetPlayerTeam(playerid, 18);
}
else if(classid == 35)
{
GameTextForPlayer(playerid, "~p~GANG DOS BAD BOYS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x00A3C0AA);
globD1C0[playerid] = 18;
globDE40[playerid] = 20;
SetPlayerTeam(playerid, 18);
}
else if(classid == 36)
{
GameTextForPlayer(playerid, "~p~GANG DOS BAD BOYS~r~~n~PRESSIONE SHIFT", 2000, 3);
SetPlayerColor(playerid, 0x00A3C0AA);
globD1C0[playerid] = 18;
globDE40[playerid] = 20;
SetPlayerTeam(playerid, 18);
}
Re: [ajuda] coisa simples -
[LF]PlaYer_. - 28.02.2012
Quote:
Originally Posted by aleex995
Essas sгo as gangs:
pawn Код:
if(!classid) { GameTextForPlayer(playerid, "~p~GANG DOS BOZO JAMES~n~~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x80FF0096); globD1C0[playerid] = 0; globDE40[playerid] = 1; SetPlayerTeam(playerid, 0); } else if(classid == 1) { GameTextForPlayer(playerid, " ~p~GANG DOS BOYZINHOS ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x80000096); globD1C0[playerid] = 1; globDE40[playerid] = 2; SetPlayerTeam(playerid, 1); } else if(classid == 2) { GameTextForPlayer(playerid, " ~p~GANG DOS BOYZINHOS ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x80000096); globD1C0[playerid] = 1; globDE40[playerid] = 2; SetPlayerTeam(playerid, 1); } else if(classid == 3) { GameTextForPlayer(playerid, "~p~GANG DOS GATES~n~~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFF800096); globD1C0[playerid] = 2; globDE40[playerid] = 3; SetPlayerTeam(playerid, 2); } else if(classid == 4) { GameTextForPlayer(playerid, " ~p~GANG DOS MILITARES ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x00008096); globD1C0[playerid] = 3; globDE40[playerid] = 4; SetPlayerTeam(playerid, 3); } else if(classid == 5) { GameTextForPlayer(playerid, " ~p~GANG DOS CHINESES ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFF00FF96); globD1C0[playerid] = 4; globDE40[playerid] = 5; SetPlayerTeam(playerid, 4); } else if(classid == 6) { GameTextForPlayer(playerid, " ~p~GANG DOS CHINESES ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFF00FF96); globD1C0[playerid] = 4; globDE40[playerid] = 5; SetPlayerTeam(playerid, 4); } else if(classid == 7) { GameTextForPlayer(playerid, " ~p~GANG DOS FRANGOS ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFF000096); globD1C0[playerid] = 5; globDE40[playerid] = 6; SetPlayerTeam(playerid, 5); } else if(classid == 8) { GameTextForPlayer(playerid, " ~p~GANG DOS AGENTES ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x80808096); globD1C0[playerid] = 6; globDE40[playerid] = 7; SetPlayerTeam(playerid, 6); } else if(classid == 9) { GameTextForPlayer(playerid, " ~p~GANG DOS AGENTES ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x80808096); globD1C0[playerid] = 6; globDE40[playerid] = 7; SetPlayerTeam(playerid, 6); } else if(classid == 10) { GameTextForPlayer(playerid, " ~p~GANG DOS NOIAS ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x0080FF96); globD1C0[playerid] = 7; globDE40[playerid] = 8; SetPlayerTeam(playerid, 7); } else if(classid == 11) { GameTextForPlayer(playerid, " ~p~GANG DOS NOIAS ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x0080FF96); globD1C0[playerid] = 7; globDE40[playerid] = 8; SetPlayerTeam(playerid, 7); } else if(classid == 12) { GameTextForPlayer(playerid, " ~p~GANG DOS NOIAS ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x0080FF96); globD1C0[playerid] = 7; globDE40[playerid] = 8; SetPlayerTeam(playerid, 7); } else if(classid == 13) { GameTextForPlayer(playerid, " ~p~GANG DOS GANGSTERS ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFFFF0096); globD1C0[playerid] = 8; globDE40[playerid] = 10; SetPlayerTeam(playerid, 9); } else if(classid == 14) { GameTextForPlayer(playerid, " ~p~GANG DOS GANGSTERS ~r~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFFFF0096); globD1C0[playerid] = 8; globDE40[playerid] = 10; SetPlayerTeam(playerid, 9); } else if(classid == 15) { GameTextForPlayer(playerid, "~p~GANG DOS COVEIROS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x80400096); globD1C0[playerid] = 9; globDE40[playerid] = 11; SetPlayerTeam(playerid, 10); } else if(classid == 16) { GameTextForPlayer(playerid, "~p~GANG DOS MANOBRISTAS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x00000096); globD1C0[playerid] = 10; globDE40[playerid] = 12; SetPlayerTeam(playerid, 11); } else if(classid == 17) { GameTextForPlayer(playerid, "~p~GANG DOS MANOBRISTAS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x00000096); globD1C0[playerid] = 10; globDE40[playerid] = 12; SetPlayerTeam(playerid, 11); } else if(classid == 18) { GameTextForPlayer(playerid, "~p~GANG DOS VAGOS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFFFF8096); globD1C0[playerid] = 11; globDE40[playerid] = 13; SetPlayerTeam(playerid, 12); } else if(classid == 19) { GameTextForPlayer(playerid, "~p~GANG DOS VAGOS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFFFF8096); globD1C0[playerid] = 11; globDE40[playerid] = 13; SetPlayerTeam(playerid, 12); } else if(classid == 20) { GameTextForPlayer(playerid, "~p~GANG DOS BALLAS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x80008096); globD1C0[playerid] = 12; globDE40[playerid] = 14; SetPlayerTeam(playerid, 12); } else if(classid == 21) { GameTextForPlayer(playerid, "~p~GANG DOS BALLAS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x80008096); globD1C0[playerid] = 12; globDE40[playerid] = 14; SetPlayerTeam(playerid, 12); } else if(classid == 22) { GameTextForPlayer(playerid, "~p~GANG DO CJ~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x00800096); globD1C0[playerid] = 13; globDE40[playerid] = 15; SetPlayerTeam(playerid, 13); } else if(classid == 23) { GameTextForPlayer(playerid, "~p~GANG DO CJ~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x00800096); globD1C0[playerid] = 13; globDE40[playerid] = 15; SetPlayerTeam(playerid, 13); } else if(classid == 24) { GameTextForPlayer(playerid, "~p~GANG DO CJ~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x00800096); globD1C0[playerid] = 13; globDE40[playerid] = 15; SetPlayerTeam(playerid, 13); } else if(classid == 25) { GameTextForPlayer(playerid, "~p~GANG DOS PIRATAS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x00FFFF96); globD1C0[playerid] = 14; globDE40[playerid] = 16; SetPlayerTeam(playerid, 14); } else if(classid == 26) { GameTextForPlayer(playerid, "~p~GANG DOS MENDINGOS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFFFFFF96); globD1C0[playerid] = 15; globDE40[playerid] = 17; SetPlayerTeam(playerid, 15); } else if(classid == 27) { GameTextForPlayer(playerid, "~p~GANG DOS MENDINGOS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFFFFFF96); globD1C0[playerid] = 15; globDE40[playerid] = 17; SetPlayerTeam(playerid, 15); } else if(classid == 28) { GameTextForPlayer(playerid, "~p~GANG DA MAFIA ITALIANA~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFF808096); globD1C0[playerid] = 16; globDE40[playerid] = 18; SetPlayerTeam(playerid, 16); } else if(classid == 29) { GameTextForPlayer(playerid, "~p~GANG DA MAFIA ITALIANA~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFF808096); globD1C0[playerid] = 16; globDE40[playerid] = 18; SetPlayerTeam(playerid, 16); } else if(classid == 30) { GameTextForPlayer(playerid, "~p~GANG DA MAFIA ITALIANA~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xFF808096); globD1C0[playerid] = 16; globDE40[playerid] = 18; SetPlayerTeam(playerid, 16); } else if(classid == 31) { GameTextForPlayer(playerid, "~p~GANG DOS TRAFICANTES~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xDC143CAA); globD1C0[playerid] = 17; globDE40[playerid] = 19; SetPlayerTeam(playerid, 17); } else if(classid == 32) { GameTextForPlayer(playerid, "~p~GANG DOS TRAFICANTES~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xDC143CAA); globD1C0[playerid] = 17; globDE40[playerid] = 19; SetPlayerTeam(playerid, 17); } else if(classid == 33) { GameTextForPlayer(playerid, "~p~GANG DOS TRAFICANTES~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0xDC143CAA); globD1C0[playerid] = 17; globDE40[playerid] = 19; SetPlayerTeam(playerid, 17); } else if(classid == 34) { GameTextForPlayer(playerid, "~p~GANG DOS BAD BOYS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x00A3C0AA); globD1C0[playerid] = 18; globDE40[playerid] = 20; SetPlayerTeam(playerid, 18); } else if(classid == 35) { GameTextForPlayer(playerid, "~p~GANG DOS BAD BOYS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x00A3C0AA); globD1C0[playerid] = 18; globDE40[playerid] = 20; SetPlayerTeam(playerid, 18); } else if(classid == 36) { GameTextForPlayer(playerid, "~p~GANG DOS BAD BOYS~r~~n~PRESSIONE SHIFT", 2000, 3); SetPlayerColor(playerid, 0x00A3C0AA); globD1C0[playerid] = 18; globDE40[playerid] = 20; SetPlayerTeam(playerid, 18); }
|
Obvio, seu gamemode estб descompilado , apaga isto '-'
Entre no seu Msn que eu lhe mando um sem estбr descompilado xD
Re: [ajuda] coisa simples -
aleex995 - 28.02.2012
Quote:
Originally Posted by [LF]PlaYer_.
Obvio, seu gamemode estб descompilado , apaga isto '-'
Entre no seu Msn que eu lhe mando um sem estбr descompilado xD
|
Nгo cara, eu te mandei apenas as linhas das gangs, ta tudo certo, copilando, o problema sу esse msm.