serverTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (typo)
Line 8: Line 8:


| Server time synchronized to clients. Returns always 0 in Singleplayer.
| Server time synchronized to clients. Returns always 0 in Singleplayer.
<br />Note that in ArmA2 1.05 Final, this command only returns the time since the '''Server''' was actualy startet. |= Description
<br />Note that in ArmA2 1.05 Final, this command only returns the time since the '''Server''' was actualy started. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 13:44, 24 December 2010

Hover & click on the images for description

Description

Description:
Server time synchronized to clients. Returns always 0 in Singleplayer.
Note that in ArmA2 1.05 Final, this command only returns the time since the Server was actualy started.
Groups:
Uncategorised

Syntax

Syntax:
serverTime
Return Value:
Number

Examples

Example 1:
hint format["Connected on Server since Serverstart : %1", serverTime - time]

Additional Information

See also:
time

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

There is a bug in this command, about 3 minutes after missionstart this command returns something completely different. See http://dev-heaven.net/issues/13581 for further infomation. --Crowe 19:31, 8 September 2010 (CEST)

Bottom Section