24.08.2012, 17:08
Hey guys,
Im making a countdown, but the numbers are displaying wrong.
Right now, when the timer is at 9 minutes and 3 seconds (for example), it shows like "9:3". I want it to show like this: "09:03", "02:41". I know ive did this before, but i kinda forgot how i did this. Anyone mind helping me? Tyty
~Wesley
Im making a countdown, but the numbers are displaying wrong.
Right now, when the timer is at 9 minutes and 3 seconds (for example), it shows like "9:3". I want it to show like this: "09:03", "02:41". I know ive did this before, but i kinda forgot how i did this. Anyone mind helping me? Tyty
pawn Код:
format( ppString, sizeof ppString, "Time: %d:%d", minutes, seconds );