Thread: Closer Timer?
View Single Post
Author Message
Gh0$t
Senior Member
Join Date: Mar 2010
Location: Germany at 127.0.0.1
Old 03-25-2012 , 13:15   Closer Timer?
Reply With Quote #1

Hello!
I need a timer for a climb-server that calculates the time between start and end.
I think about a timer that trigger all 0.1 seconds and calculate per player the current playtime.
This is very computationally intensive for the server, therefore i think its not good.
How can i realize that?
I need a value with double-digit seconds, for example 10.23 seconds.
In PHP i would realize that with microtime(), but i don't found a function like that in SourcePAWN.
__________________
Gh0$t is offline