• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved timeToDecreaseFrags

antonio664

Member
Joined
Jan 9, 2013
Messages
129
Reaction score
5
Can someone translate this formula, please ?

timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
 
Translate to what?
24 hours = 24 * 60 * 60 * 1000

60 * 1000 = 60 seconds
60 * 60 * 1000 = 3600 seconds ( 1 hour)
24 * 60 * 60 * 1000 = 86400 seconds (24 hours)

If you calculate the config above it will give you out 86400000, remove 3x 0 and you got the seconds, its because tfs converts to miliseconds...
 
Translate to what?
24 hours = 24 * 60 * 60 * 1000

60 * 1000 = 60 seconds
60 * 60 * 1000 = 3600 seconds ( 1 hour)
24 * 60 * 60 * 1000 = 86400 seconds (24 hours)

If you calculate the config above it will give you out 86400000, remove 3x 0 and you got the seconds, its because tfs converts to miliseconds...

Thank you! And I'm sorry my ignorance ! : D Have a great day !
 

Similar threads

Back
Top