GetAllTimers: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetAllTimers()}} {{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|Get all timers on the server/ client.}}


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


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns a table of all timer identifiers.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
local timers = GetAllTimers()
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:TimerFunctions}}

Latest revision as of 23:12, 18 March 2020

GetAllTimers

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

Description

Get all timers on the server/ client.

Syntax

GetAllTimers()

Parameters

  • This function has no parameters.

Return Value

  • Returns a table of all timer identifiers.

Example

local timers = GetAllTimers()

See also