Show timer status
#6

And if we go back to the topic, I think you can't get time left from a timer. You should use a variable, where you keep track on the time left and use it on your textdraw.

pawn Код:
new TimeLeft;

SetTimer("TimeLeftTimer", 1000, 1);

public TimeLeftTimer()
{
    TimeLeft++;
    TextDrawSetString(...);
    if(TimeLeft == 1220)
    {
        //This is where time runs out
    }
}
Reply


Messages In This Thread
Show timer status - by Memoryz - 19.09.2009, 14:35
Re: Show timer status - by Memoryz - 19.09.2009, 16:30
Re: Show timer status - by brett7 - 19.09.2009, 16:30
Re: Show timer status - by ded - 19.09.2009, 16:34
Re: Show timer status - by Jakku - 19.09.2009, 19:00
Re: Show timer status - by MadeMan - 19.09.2009, 20:09
Re: Show timer status - by Badger(new) - 19.09.2009, 20:17

Forum Jump:


Users browsing this thread: 1 Guest(s)