SA-MP Forums Archive
Question about numbers - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question about numbers (/showthread.php?tid=446741)



Question about numbers - horsemeat - 27.06.2013

ok I have this counter that is counting down and when it hit number like 1,2...9 it give me something like this as and output

Код:
2:0:1
I want the number to appear like this

Код:
2:00:01



AW: Question about numbers - BigETI - 27.06.2013

Use this pattern:
pawn Код:
"%d:%02d:%02d"