This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz getCurrentTime: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Yassen (talk | contribs)
Added bz_getCurrentTime
 
Clarify that the time returned has an accuracy in milliseconds, not just seconds.
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 milliseconds.
| version    = 2.0.x or later
| version    = 2.0.x or later
}}
}}

Revision as of 09:08, 4 June 2012

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 milliseconds.