serverTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Server time synchronized to clients. |= Description
| 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
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 22:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>hint format["Connected on Server since Serverstart : %1", serverTime - time]</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[time]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 10:34, 3 June 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 startet.
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

Bottom Section