[Ajuda] SetPlayerChatBubble - Time/Classe
#3

Tenta ae

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);
Reply


Messages In This Thread
SetPlayerChatBubble - Time/Classe - by ModaLOKO - 09.05.2015, 16:39
Re: SetPlayerChatBubble - Time/Classe - by Vegassilva - 09.05.2015, 16:43
Re: SetPlayerChatBubble - Time/Classe - by ExPLORE - 09.05.2015, 16:44
Re: SetPlayerChatBubble - Time/Classe - by ModaLOKO - 09.05.2015, 17:32
Re: SetPlayerChatBubble - Time/Classe - by Vegassilva - 09.05.2015, 18:28
Re: SetPlayerChatBubble - Time/Classe - by ModaLOKO - 09.05.2015, 18:47
Re: SetPlayerChatBubble - Time/Classe - by Vegassilva - 09.05.2015, 19:39
Re: SetPlayerChatBubble - Time/Classe - by ExPLORE - 09.05.2015, 19:52
Re: SetPlayerChatBubble - Time/Classe - by ModaLOKO - 09.05.2015, 22:28

Forum Jump:


Users browsing this thread: 1 Guest(s)