09.05.2015, 16:44
Tenta ae
EDIT: nгo tinha observando que o lek acima tinha postado
EDIT: nгo tinha observando que o lek acima tinha postado
pawn Код:
#define TEAM_BRASIL 1
#define COR_BRASIL 0xF21B1BFF
#define TEAM_EUA 2
#define COR_EUA 0x1B6DF2FF
#define TEAM_FRANCE 3
#define COR_FRANCE 0x1BF21BFF
#define TEAM_CHINA 4
#define COR_CHINA 0xF0C384FF
#define TEAM_INDIA 5
#define COR_INDIA 0xA2A8A4FF
new Time[100], Classes[100];
if(pTeam[playerid] == TEAM_BRASIL)
{
Time = "Brasil";
SetPlayerColor(playerid, COR_BRASIL);
}
if(pTeam[playerid] == TEAM_EUA)
{
Time = "EUA";
SetPlayerColor(playerid, COR_EUA);
}
if(pTeam[playerid] == TEAM_FRANCE)
{
Time = "Franca";
SetPlayerColor(playerid, COR_FRANCE);
}
if(pTeam[playerid] == TEAM_CHINA)
{
Time = "China";
SetPlayerColor(playerid, COR_CHINA);
}
if(pTeam[playerid] == TEAM_INDIA)
{
Time = "India";
SetPlayerColor(playerid, COR_INDIA);
}
if(gClasse[playerid] == SOLDADO) Classes = "Assalto";
if(gClasse[playerid] == SNIPER) Classes = "Sniper";
if(gClasse[playerid] == ENGENHEIRO) Classes = "Engenheiro";
if(gClasse[playerid] == PILOTO) Classes = "Piloto";
if(gClasse[playerid] == MEDICO) Classes = "Suporte";
SetPlayerChatBubble(playerid, "%s %s", GetPlayerColor(playerid), 100.0, 10000,Time, Classes);