Timer Countdown [ huge timer's ]
#3

if I understood you right, then create a loop timer* contains the negative "what ever", or if you want it becomes less every second, just put the negative you want.

pawn Code:
forward LessTimer();
public LessTime()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        Seconds[i]-- //seconds will be -1 for all players
    }
    return 1;
}

OnGameModeInit()
{
    SetTimer("LessTime", 1000, true);
   // every second LessTime will be re-called, you can just place *LessTime* underneath OnPlayerUpdate and remove that line ^^
    return 1;
}
This is just an example/tips may help you.
Reply


Messages In This Thread
Timer Countdown [ huge timer's ] - by RicaNiel - 28.08.2012, 04:42
Re: Timer Countdown [ huge timer's ] - by IceMeteor - 28.08.2012, 07:27
Re: Timer Countdown [ huge timer's ] - by Youice - 28.08.2012, 10:08
Re: Timer Countdown [ huge timer's ] - by Zaila - 28.08.2012, 10:24
Re: Timer Countdown [ huge timer's ] - by RicaNiel - 28.08.2012, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)