[Ajuda] /vips e /socios bugado
#3

PHP код:
if (strcmp(cmd"/vips"true) == 0)
    {
         if(
IsPlayerConnected(playerid))
         {
              
SendClientMessage(playeridCOLOR_VERDE"Vips Online:");
              for(new 
0MAX_PLAYERSi++)
              {
                   if(
IsPlayerConnected(i))
                   {
                        if(
JogadorInfo[i][pAdmin] < 1340)
                        {
                             if(
JogadorInfo[i][pVIP] == 1)
                             {
                                  
GetPlayerName(isendernamesizeof(sendername));
                                  
format(string256"VIP: %s[VIP Bronze][%d dias]"sendernameJogadorInfo[i][pDiaVIP]);
                                  
SendClientMessage(playeridCOLOR_WHITEstring);
                             }
                             else if(
JogadorInfo[i][pVIP] == 2)
                             {
                                  
GetPlayerName(i,sendername,sizeof(sendername));
                                  
format(string,256"VIP: %s[VIP Prata][%d dias]"sendernameJogadorInfo[i][pDiaVIP]);
                                  
SendClientMessage(playeridCOLOR_WHITEstring);
                             }
                             else if(
JogadorInfo[i][pVIP] == 3)
                             {
                                  
GetPlayerName(i,sendername,sizeof(sendername));
                                  
format(string,256"VIP: %s[VIP Ouro][%d dias]"sendernameJogadorInfo[i][pDiaVIP]);
                                  
SendClientMessage(playerid0xFFFF00FFstring);
                             }
                        }
                   }
              }
         }
    } 
Reply


Messages In This Thread
/vips e /socios bugado - by Ericoo - 30.07.2015, 18:30
Re: /vips e /socios bugado - by iTakelot - 30.07.2015, 20:22
Re: /vips e /socios bugado - by Ericoo - 30.07.2015, 20:35
Re: /vips e /socios bugado - by CaioTJF - 30.07.2015, 20:43
Re: /vips e /socios bugado - by Ericoo - 30.07.2015, 20:54
Re: /vips e /socios bugado - by iTakelot - 30.07.2015, 20:57
Re: /vips e /socios bugado - by Ericoo - 30.07.2015, 21:27

Forum Jump:


Users browsing this thread: 2 Guest(s)