25.04.2018, 17:42
Quote:
|
Seu ChatBubble й muinto parecido com Um que eu ja vi
Mais vamos la, eu usei um ingual o seu olha, e deu certo de 1Код:
SetTimer("AtualizarChatBubble", 1000, true); //No Topo Junto com os SetTimer
forward AtualizarChatBubble();
public AtualizarChatBubble()
{
for(new x=0; x < MAX_PLAYERS; x++)
{
if(pAdmin[x] == 5)
{
SetPlayerChatBubble(x, "Desenvolvedor(a)", 0x328E0AAA, 100.0, 100000);
}
if(pAdmin[x] == 4)
{
SetPlayerChatBubble(x, "Administrador(a)", 0x008bceAA, 100.0, 100000);
}
if(pAdmin[x] == 3)
{
SetPlayerChatBubble(x, "Moderador(a)", 0xFF8C00AA, 100.0, 100000);
}
if(pAdmin[x] == 2)
{
SetPlayerChatBubble(x, "Admin-Geral", 0xc32407AA, 100.0, 100000);
}
if(pAdmin[x] == 1)
{
SetPlayerChatBubble(x, "Ajudante", 0xFFFF00AA, 100.0, 100000);
}
}
}
//No Final da Gamemode
![]() |
PHP код:
forward AtualizarChatBubble();
public AtualizarChatBubble()
{
for(new x=0; x < MAX_PLAYERS; x++)
{
if(PlayerInfo[x][Level] >= 5)
{
SetPlayerChatBubble(x, "Desenvolvedor(a)", 0x328E0AAA, 100.0, 100000);
}
if(PlayerInfo[x][Level] >= 4)
{
SetPlayerChatBubble(x, "Administrador(a)", 0x008bceAA, 100.0, 100000);
}
if(PlayerInfo[x][Level] >= 3)
{
SetPlayerChatBubble(x, "Moderador(a)", 0xFF8C00AA, 100.0, 100000);
}
if(PlayerInfo[x][Level] >= 2)
{
SetPlayerChatBubble(x, "Admin-Geral", 0xc32407AA, 100.0, 100000);
}
if(PlayerInfo[x][Level] >= 1)
{
SetPlayerChatBubble(x, "Ajudante", 0xFFFF00AA, 100.0, 100000);
}
}
}



Mais vamos la, eu usei um ingual o seu olha, e deu certo de 1