[Ajuda] Strcat nъmero de cйlulas
#1

Se eu diminuo o nъmero de cйlulas ele corta a mensagem. Se eu aumento aparece duas vezes. Veja



pawn Код:
public OnDialogResponse
PHP код:
if(dialogid == DIALOG_EVENTO_PREMIO3)
{
    if(
response)
    {
         new 
status[200], string[128];
         
format(eventoPremioTerceiroColocado50inputtext);
         
        for(new 
0MAX_PLAYERSi++)
        {
            if(
IsPlayerConnected(i))
            {
                
format(stringsizeof(string), "{FFD700}1є {FFFFFF}- {FFD700}%s\n"eventoPrimeiroColocado);
                 
strcat(status,string);
                
format(stringsizeof(string), "{FFFFFF}Ganhou: %s\n\n",eventoPremioPrimeiroColocado);
                
strcat(status,string);
                
format(stringsizeof(string), "{FFD700}2є {FFFFFF}- {FFD700}%s\n"eventoSegundoColocado);
                
strcat(status,string);
                
format(stringsizeof(string), "{FFFFFF}Ganhou: %s\n\n",eventoPremioSegundoColocado);
                
strcat(status,string);
                
format(stringsizeof(string), "{FFD700}3є {FFFFFF}- {FFD700}%s\n"eventoTerceiroColocado);
                
strcat(status,string);
                
format(stringsizeof(string), "{FFFFFF}Ganhou: %s\n\n",eventoPremioTerceiroColocado);
                
strcat(status,string);
                
ShowPlayerDialog(iDIALOG_EVENTO_PUBLICARDIALOG_STYLE_MSGBOX"{FFD700}» {FFFFFF}RESULTADO DO EVENTO {FFD700}«"status"Fechar""");
            }
        }
    }

Reply


Messages In This Thread
Strcat nъmero de cйlulas - by Jones Bastos - 05.09.2013, 13:08
Re: Strcat nъmero de cйlulas - by RebeloX - 05.09.2013, 13:19
Re: Strcat nъmero de cйlulas - by Wellington1999 - 05.09.2013, 13:31
Respuesta: Re: Strcat nъmero de cйlulas - by Jones Bastos - 05.09.2013, 13:47
Respuesta: Strcat nъmero de cйlulas - by Jones Bastos - 05.09.2013, 14:08

Forum Jump:


Users browsing this thread: 1 Guest(s)