new integer = 6,string[10];format(string, sizeof(string), "0%i", integer);
if(integer>=0 && integer < 10)format(string, sizeof(string), "0%i", integer);else format(string, sizeof(string), "%i", integer);
%02d