[ajuda/pedido]tempo de guerra
#2

Coloque isto em baixo de EmGuerra = 1;

pawn Код:
}
    SetTimer("TempoFinalizarGuerra", ------, 0);//No Lugar de ------- Coloque o Tempo que voce deseja
    return 1;
E nas Publics

pawn Код:
}

public TempoFinalizarGuerra()
{
    EmGuerra = 0;
    WinnerGuerra= 0;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(PlayerGanhou[i] != 0)
            {
                format(string, sizeof(string), "----------------------", pName);//NO LUGAR DE ---------- voce poe quem ganhou (o texto)
                    SendClientMessageToAll(---------, string);//A Cor da ORG QUE GANHOR
            }
        }
        return 1;
}
Espero ter ajudado
Reply


Messages In This Thread
[ajuda/pedido]tempo de guerra - by Hitman_xD - 18.01.2011, 21:04
Re: [ajuda/pedido]tempo de guerra - by bruno-style - 18.01.2011, 22:23
Re: [ajuda/pedido]tempo de guerra - by Hitman_xD - 19.01.2011, 13:00

Forum Jump:


Users browsing this thread: 1 Guest(s)