GetTimerCount: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetTimerCount()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} == Example..."
 
28days (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server & Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Gets the created timers count.}}


{{FuncSyntax|GetTimerCount()}}
{{FuncSyntax|GetTimerCount()}}
Line 8: Line 8:
{{FuncNoParam}}
{{FuncNoParam}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns number of created timers.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
print("Timers: "..GetTimerCount())
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{TimerFunctions}}

Latest revision as of 17:21, 15 December 2019

GetTimerCount

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

Description

Gets the created timers count.

Syntax

GetTimerCount()

Parameters

  • This function has no parameters.

Return Value

  • Returns number of created timers.

Example

print("Timers: "..GetTimerCount())

See also