SA-MP Forums Archive
One Simple Question - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: One Simple Question (/showthread.php?tid=212613)



One Simple Question - Alex_Valde - 17.01.2011

I've got one question.

First I'll show you an a example of what I don't understand

pawn Код:
printf("Code has been started in %02d:%02d:%02d", Hour, Minute, Second);
So, what does these "02" stands for in that code?? 'Cause when I change it to: "%d", it's the same.


Re: One Simple Question - JaTochNietDan - 17.01.2011

Look here. It explains what that means.


Re: One Simple Question - Alex_Valde - 17.01.2011

Oh, thank you so much JaTochNietDan.
I don't know how I couldn't find that.
Thanks for your help!