serverTime: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (clarification added) |
||
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 | <br />Note that in ArmA2 1.05 Final, this command only returns the time since the '''Server''' was actually started. | ||
NOTE: [[serverTime]] is available to both server and clients and shows the same value when synced. The only time it is not synced is on the server, right after server restart and only for the first 300 seconds. Client side [[serverTime]] is synced from the start. [[serverTime]] is also different from server [[time]] and server [[diag_tickTime]] |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 26: | Line 28: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[time]] |= SEEALSO | | [[time]], [[diag_tickTime]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 00:30, 3 September 2013
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 actually started. NOTE: serverTime is available to both server and clients and shows the same value when synced. The only time it is not synced is on the server, right after server restart and only for the first 300 seconds. Client side serverTime is synced from the start. serverTime is also different from server time and server diag_tickTime - 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:
- timediag_tickTime
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)