19.02.2009, 15:07
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
[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

