20.02.2009, 09:14
This only displays 00:30
This is my code:
This is my code:
pawn Код:
if(FlightTime[player] > 9)
{
new minutes, seconds;
TimeConvert(FLTime_LosSantos, minutes, minutes, minutes, seconds, .method = tc_seconds);
format(string, sizeof(string), "~w~Flight Time: %02d:%02d", minutes, seconds);
} else {
format(string, sizeof(string), "~w~Flight Time: ~g~00:0%d", FlightTime[player]);
}
GameTextForPlayer(player, string, 3000, 4);