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

tente
pawn Код:
if(dialogid == DIALOG_EVENTO_PREMIO3)
{
    if(response)
    {
         new status[200], string[200];
         format(eventoPremioTerceiroColocado, 50, inputtext);

        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                 format(string,200, " {FFD700}1є {FFFFFF}- {FFD700}%s\n", eventoPrimeiroColocado);
                 strcat(status,string);

                format(string,200, " {FFFFFF}Ganhou: %s\n\n",eventoPremioPrimeiroColocado);
                strcat(status,string);

                format(string,200, " {FFD700}2є {FFFFFF}- {FFD700}%s\n", eventoSegundoColocado);
                strcat(status,string);

                format(string,200, " {FFFFFF}Ganhou: %s\n\n",eventoPremioSegundoColocado);
                strcat(status,string);

                format(string,200, " {FFD700}3є {FFFFFF}- {FFD700}%s\n", eventoTerceiroColocado);
                strcat(status,string);

                format(string,200, " {FFFFFF}Ganhou: %s\n\n",eventoPremioTerceiroColocado);
                strcat(status,string);

                ShowPlayerDialog(i, DIALOG_EVENTO_PUBLICAR, DIALOG_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)