[AJUDA] Contar
#1

Eu fiz um sistema para contar e aparecer no GameTextForPlayer, mas ele nгo esta contando em 1 em 1 segundo, no caso esta contando ERRADO!

Esta certo do modo que estou fazendo ?

Cуdigo:
pawn Код:
forward LiberarPZumbi();
public LiberarPZumbi()
{
    new contar[10];
    foreach(new i : Player)
    {
        if(Player[i][NoZumbi] == true)
        {
            if(tempoportao == 0)
            {
                GameTextForPlayer(i, "~g~Go Go Go", 3000, 3);
                MoveDynamicObject(PortoesZumbi, -265.77000000,2084.73000000,320.96000000, 10);
                MoveDynamicObject(PortoesZumbi1, -238.53000000,2073.49000000,320.96000000, 10);
                MoveDynamicObject(PortoesZumbi2, -259.11000000,2073.25000000,320.96000000, 10);
                AvisoEvento(COR_VERMELHOE, "** Portхes Abertos! ** ");
                tempoportao = 60;
                return false;
            }
            format(contar, sizeof(contar), "~w~%d", tempoportao);
            GameTextForPlayer(i, contar, 1000, 3);
            SetTimer("LiberarPZumbi", 1000, true);
            return tempoportao--;
        }
    }
    return true;
}
Reply


Messages In This Thread
[AJUDA] Contar - by EditPawn - 10.06.2012, 02:12
Re: [AJUDA] Contar - by paulor - 10.06.2012, 02:20
Re: [AJUDA] Contar - by EditPawn - 10.06.2012, 02:23
Re: [AJUDA] Contar - by EditPawn - 10.06.2012, 02:27
Re: [AJUDA] Contar - by paulor - 10.06.2012, 02:36
Re: [AJUDA] Contar - by EditPawn - 10.06.2012, 02:47
Re: [AJUDA] Contar - by paulor - 10.06.2012, 03:23
Re: [AJUDA] Contar - by EditPawn - 10.06.2012, 03:32
Re: [AJUDA] Contar - by paulor - 10.06.2012, 03:59

Forum Jump:


Users browsing this thread: 1 Guest(s)