[Ajuda] Tags em cima da cabeзa!
#6

Quote:
Originally Posted by CSSDean
Посмотреть сообщение
Muito obrigado man,tipo atй copilou,porem na hora de testar apenas o level 1 (ajudante) que pego a tag,quando coloco pra ser level 2 por exemplo,ele ainda continua "ajudante"


PHP код:
forward AtualizarChatBubble();
public 
AtualizarChatBubble()
{
    for(new 
x=0MAX_PLAYERSx++)
    {
       if(
PlayerInfo[x][Level] >= 5)
        {
      
SetPlayerChatBubble(x"Desenvolvedor(a)"0x328E0AAA100.0100000);
      }
       if(
PlayerInfo[x][Level] >= 4)
      {
      
SetPlayerChatBubble(x"Administrador(a)"0x008bceAA100.0100000);
      }
       if(
PlayerInfo[x][Level] >= 3)
      {
      
SetPlayerChatBubble(x"Moderador(a)"0xFF8C00AA100.0100000);
      }
       if(
PlayerInfo[x][Level] >= 2)
      {
      
SetPlayerChatBubble(x"Admin-Geral"0xc32407AA100.0100000);
      }
       if(
PlayerInfo[x][Level] >= 1)
      {
      
SetPlayerChatBubble(x"Ajudante"0xFFFF00AA100.0100000);
      }
}

Tente
PHP код:
forward AtualizarChatBubble();
public 
AtualizarChatBubble()
{
  for(new 
x=0<= GetPlayerPoolSize(); x++) {
    if(!
IsPlayerConnected(x)) continue;
    switch(
PlayerInfo[x][Level]) {
      case 
5SetPlayerChatBubble(x"Desenvolvedor(a)"0x328E0AAA100.02000);
      case 
4SetPlayerChatBubble(x"Administrador(a)"0x008bceAA100.02000);
      case 
3SetPlayerChatBubble(x"Moderador(a)"0xFF8C00AA100.02000);
      case 
2SetPlayerChatBubble(x"Admin-Geral"0xc32407AA100.02000);
      case 
1SetPlayerChatBubble(x"Ajudante"0xFFFF00AA100.02000);
    }
  }

Reply


Messages In This Thread
Tags em cima da cabeзa! - by CSSDean - 25.04.2018, 17:04
Re: Tags em cima da cabeзa! - by ipsLuan - 25.04.2018, 17:08
Re: Tags em cima da cabeзa! - by CSSDean - 25.04.2018, 17:11
Re: Tags em cima da cabeзa! - by uliano - 25.04.2018, 17:33
Re: Tags em cima da cabeзa! - by CSSDean - 25.04.2018, 17:42
Re: Tags em cima da cabeзa! - by Locky_ - 25.04.2018, 17:50
Re: Tags em cima da cabeзa! - by CSSDean - 25.04.2018, 17:54
Re: Tags em cima da cabeзa! - by Locky_ - 25.04.2018, 17:57

Forum Jump:


Users browsing this thread: 5 Guest(s)