Help me Activity problem ( countdown )
#10

pawn Код:
public CountDownSawnUzi2(seconds)
{
    for(new i = 0; i < GetMaxPlayers(); i++)
    {
        if(IsPlayerConnected(i) && InSawnUzi[i])
        {
            if(seconds)
            {
                new str[15];
                format(str, sizeof(str), "%d", seconds);
                GameTextForPlayer(i, str, 1000, 6);
                TogglePlayerControllable(i, 0);
            }
            else if(seconds == 0)
            {
                TogglePlayerControllable(i, 1);
                GameTextForPlayer(i, "Go", 1000, 6);
            }
        }
    }
    if(seconds != 0)
    {
        SetTimerEx("CountDownSawnUzi2", 1000, 0, "%d", seconds-1);
    }
    return 1;
}
how about this one?
Reply


Messages In This Thread
Help me Activity problem ( countdown ) - by xPawn - 25.10.2010, 19:26
Re: Help me Activity problem ( countdown ) - by Grim_ - 25.10.2010, 19:32
Re: Help me Activity problem ( countdown ) - by xPawn - 25.10.2010, 19:48
Re: Help me Activity problem ( countdown ) - by xPawn - 26.10.2010, 05:12
Re: Help me Activity problem ( countdown ) - by xPawn - 26.10.2010, 11:50
Re: Help me Activity problem ( countdown ) - by xPawn - 27.10.2010, 13:28
Re: Help me Activity problem ( countdown ) - by Jefff - 27.10.2010, 13:35
Re: Help me Activity problem ( countdown ) - by xPawn - 28.10.2010, 14:56
Re: Help me Activity problem ( countdown ) - by xPawn - 28.10.2010, 19:13
Re: Help me Activity problem ( countdown ) - by i514x - 28.10.2010, 19:31

Forum Jump:


Users browsing this thread: 1 Guest(s)