Ayudita por favor
#4

Quote:
Originally Posted by JuanStone
Посмотреть сообщение
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(ViendoDuelo[i] == 1) // error ?? == i ??
        {
            new str2[256];
            format(str2,sizeof(str2),"~r~%s ~w~es el ganador del duelo",PlayerName2(Duelos[i][DesafiadoId]));
            GameTextForPlayer(i, str2, 5000, 3); // si usas forall no puedes definir a quien despuйs, usa asн.
            ViendoDuelo[i] =-1;
        }
    }
}
pawn Код:
for (new j=0; j<= MAX_PLAYERS; j++)
               {
                   if (ViendoDuelo[j] == i)
                   {
                       new str2[256];
                       format(str2,sizeof(str2),"~r~%s ~w~es el ganador del duelo",PlayerName2(Duelos[i][DesafiadoId]));
                     GameTextForPlayer(j, str2,5000,3); // <<<--- esto
                     ViendoDuelo[j] =-1;
                   }
               }
            }
Ok muchas gracias comprendido n_n
Reply


Messages In This Thread
Ayudita por favor - by Zodiaco - 10.12.2014, 13:01
Re: Ayudita por favor - by JuanStone - 10.12.2014, 13:29
Re: Ayudita por favor - by Adejair_Junior - 10.12.2014, 13:35
Respuesta: Re: Ayudita por favor - by Zodiaco - 10.12.2014, 13:56

Forum Jump:


Users browsing this thread: 1 Guest(s)