GetTickCount: Difference between revisions

From Onset Developer Wiki
No edit summary
 
Line 11: Line 11:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
local tick = GetTickCount()
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}

Latest revision as of 14:16, 26 June 2021

GetTickCount

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Returns the uptime of the actual computer (not the Onset application) in milliseconds.

Syntax

GetTickCount()

Parameters

  • This function has no parameters.

Return Value

  • Uptime of the actual computer (not the Onset application)

Example

local tick = GetTickCount()

See also