|
Author
|
Message
|
|
New Member
Join Date: Sep 2007
Location: Siberia, Russia
|

09-16-2007
, 20:59
format_time is adding extra hours
|
#1
|
Hello guys,
I've been trying to format the time in seconds and I found out that format_time always returns the input time + 6 hours.
format_time(str, 32, "%H:%M:%S", 5); // "06:00:05"
format_time(str, 32, "%H:%M:%S", 4815); // "07:20:15"
I'm a little new to the amxmodx scripting, so if you think answer is trivial, please anyway post it.
I use 1.76d on a cstrike game.
Thanks in advance.
|
|
|
|