[Help] Time Division
#2

Maybe this is your function (i do not tested it)

Код:
ConvertToHours(time)
{
   new string[48];
   format(string, sizeof(string), "%02d:%02d:%02d", floatround((time / 3600), floatround_floor), floatround((time % 3600) / 60), time % 60);
   return string;
}
Reply


Messages In This Thread
[Help] Time Division - by ApolloScripter - 28.12.2018, 22:37
Re: [Help] Time Division - by m4karow - 28.12.2018, 22:43

Forum Jump:


Users browsing this thread: 1 Guest(s)