serverTime: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 46: | Line 46: | ||
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | [[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 12:03, 25 March 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 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)