Timer won't Countdown!!!
#3

pawn Code:
new GameSeconds = 900; // 60s - min, 300s - 5min
public GameTime()
{
    new m = ((GameSeconds/60)%60);
    new s = (GameSeconds%60);
    new TimeString[14];
    format(TimeString,sizeof(TimeString),"%02d:%02d",m,s);
    TextDrawSetString(Textdraw0,TimeString);
    if(GameSeconds == 0) OnGameModeExit();
    GameSeconds--;
    return 1;
}
and TextDrawShowForAll or ForPlayer
Reply


Messages In This Thread
[SOLVED]Timer won't Countdown!!! - by Tigerbeast11 - 24.08.2011, 00:45
Re: Timer won't Countdown!!! - by a_big - 24.08.2011, 00:50
Re: Timer won't Countdown!!! - by Jefff - 24.08.2011, 00:56
Re: Timer won't Countdown!!! - by Tigerbeast11 - 24.08.2011, 00:56
Re: Timer won't Countdown!!! - by Intoxicated - 24.08.2011, 00:56
Re: Timer won't Countdown!!! - by Tigerbeast11 - 24.08.2011, 00:59
Re: Timer won't Countdown!!! - by grand.Theft.Otto - 24.08.2011, 01:04
Re: Timer won't Countdown!!! - by Jefff - 24.08.2011, 01:05
Re: Timer won't Countdown!!! - by Tigerbeast11 - 24.08.2011, 01:06
Re: Timer won't Countdown!!! - by grand.Theft.Otto - 24.08.2011, 01:10
Re: Timer won't Countdown!!! - by Tigerbeast11 - 24.08.2011, 01:15
Re: Timer won't Countdown!!! - by iPLEOMAX - 24.08.2011, 02:28
Re: Timer won't Countdown!!! - by Bakr - 24.08.2011, 02:41
Re: Timer won't Countdown!!! - by iPLEOMAX - 24.08.2011, 02:46
Re: Timer won't Countdown!!! - by Tigerbeast11 - 24.08.2011, 08:53
Re: Timer won't Countdown!!! - by iPLEOMAX - 24.08.2011, 08:55
Re: Timer won't Countdown!!! - by Tigerbeast11 - 24.08.2011, 08:56
Re: Timer won't Countdown!!! - by Tigerbeast11 - 24.08.2011, 08:59
Re: Timer won't Countdown!!! - by iPLEOMAX - 24.08.2011, 09:06
Re: Timer won't Countdown!!! - by Tigerbeast11 - 24.08.2011, 09:08
Re: Timer won't Countdown!!! - by Tigerbeast11 - 24.08.2011, 10:09

Forum Jump:


Users browsing this thread: 1 Guest(s)