21.05.2016, 18:48
I'm using some saved variables that save the player's hours,minutes and seconds while playing in server
and i made it in /stats so players can see their playing time.
but the playing time appears like numbers.
Example: 2:3:40 [2 Hours,3 Minutes and 40 Seconds]
I want it to appear like 02:03:40.
I use for example
and i made it in /stats so players can see their playing time.
but the playing time appears like numbers.
Example: 2:3:40 [2 Hours,3 Minutes and 40 Seconds]
I want it to appear like 02:03:40.
I use for example
Код:
format(string,sizeof(string),"Playing Time: %d:%d:%d",hours[playerid],mins[playerid],secs[playerid]); SendClientMessage(playerid,-1,string);