possible ? convert seconds to minutes ?
#8

Yes but you don't need

pawn Code:
if(seconds>9) format(string,sizeof(string),"%d:%d",minutes,seconds);
else format(string,sizeof(string),"%d:0%d",minutes,seconds);
this. It does exactly the same thing and faster.

pawn Code:
format(string,sizeof(string),"%d:%02d",minutes,seconds);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)