[Help] TimeConvert
#1

How to add milliseconds in my TimeConvert?

pawn Код:
TimeConvert(seconds) {
    new
        Str[256];
       
    new minutes = floatround(seconds/60);
    seconds -= minutes*60;
    format(Str, sizeof(Str), "%d:%02d", minutes, seconds);
    return Str;
}
Reply


Messages In This Thread
[Help] TimeConvert - by jpeg - 22.09.2012, 17:51
Re: [Help] TimeConvert - by Squirrel - 22.09.2012, 18:12
Re: [Help] TimeConvert - by jpeg - 22.09.2012, 18:17
Re: [Help] TimeConvert - by Squirrel - 22.09.2012, 18:21
Re: [Help] TimeConvert - by jpeg - 22.09.2012, 18:33

Forum Jump:


Users browsing this thread: 1 Guest(s)