08.08.2012, 13:22
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
,so the textdraw won't look like:
but like
.Also when S is 0,then decrement M to M-1 and reset S to 59 while M!=0.
pawn Код:
0%d:0%d
Код:
09:10.....09:9
Код:
09:09