Timer minutes
#2

Make a timer of 1 second,and then just define 2 variables name M and S(minutes and second).Define them in your gamemode like M=9,S=59;.Then change the timer to 1 second,and update the textdraw every seconds,the format is of course[pawn]0%d:%d[pawn].But you have to check when the variable S,when it's a single digit so the format woould change to
pawn Код:
0%d:0%d
,so the textdraw won't look like:
Код:
09:10.....09:9
but like
Код:
09:09
.Also when S is 0,then decrement M to M-1 and reset S to 59 while M!=0.
Reply


Messages In This Thread
Timer minutes - by Dan. - 08.08.2012, 13:06
Re: Timer minutes - by Cjgogo - 08.08.2012, 13:22
Re: Timer minutes - by Sinner - 08.08.2012, 14:00

Forum Jump:


Users browsing this thread: 1 Guest(s)