Raised This Month: $ Target: $400
 0% 

format_time is adding extra hours


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
r3bel
New Member
Join Date: Sep 2007
Location: Siberia, Russia
Old 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.
r3bel is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode