Difference between revisions of "Bz getCurrentTime"

From BZFlagWiki
Jump to: navigation, search
(Added bz_getCurrentTime)
 
m (Someone correct me but this should be seconds, not milliseconds)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
| param1type  = void
 
| param1type  = void
 
| returntype  = double
 
| returntype  = double
| returns    = The server time (in seconds)
+
| returns    = The amount of time the server has been running. This is shown in seconds.
 
| version    = 2.0.x or later
 
| version    = 2.0.x or later
 
}}
 
}}

Latest revision as of 06:53, 3 December 2013

double bz_getCurrentTime (void)


Minimum API Version: 2.0.x or later
Gets the current server time.

Returns:
The amount of time the server has been running. This is shown in seconds.