Flight Time , Seconds to Minutes
#2

flighttime[playerid]-(Minutes*60) is how you would get the seconds

[qupte]
The other code, is if the seconds are above 9 it wont display an extra 0, because if its below 9 (the seconds) it will do like: 00:05.
[/quote]
usings just %02d adds 2 '0's unless a number is presented, so if it's 0, you'll get 00, if it's 9 you'll get 09, if it's 10, you'll get 10
Reply


Messages In This Thread
Flight Time , Seconds to Minutes - by Robbin237 - 19.02.2009, 14:59
Re: Flight Time , Seconds to Minutes - by Joe Staff - 19.02.2009, 15:07
Re: Flight Time , Seconds to Minutes - by Robbin237 - 19.02.2009, 15:10
Re: Flight Time , Seconds to Minutes - by yom - 19.02.2009, 16:14
Re: Flight Time , Seconds to Minutes - by Robbin237 - 20.02.2009, 09:14
Re: Flight Time , Seconds to Minutes - by yom - 20.02.2009, 15:23

Forum Jump:


Users browsing this thread: 1 Guest(s)