format_time is adding extra hours
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. |
Re: format_time is adding extra hours
Wrong Forum, post in the Scripting Help forum to get the help you need.
Trashing Engadged. |
Re: format_time is adding extra hours
Oh sorry! I just solved the problem by myself, it turned out that the function uses GMT local time shift.
|
Re: format_time is adding extra hours
Locked...but good info, so ill just move it.
|
| All times are GMT -4. The time now is 16:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.