serverTime: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Killzone Kid (talk | contribs) (Removed ceeebs note as it contains dead link and is already explained in the description) |
||
Line 38: | Line 38: | ||
<h3 style='display:none'>Notes</h3> | <h3 style='display:none'>Notes</h3> | ||
<dl class='command_description'> | <dl class='command_description'> | ||
</dl> | </dl> | ||
Revision as of 14:29, 12 September 2018
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 ["Synced server time : %1", serverTime];
Additional Information
- See also:
- timediag_tickTimedatemissionStart
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