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 =..." |
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| | {{FuncDescription|Get all timers on the server/ client.}} | ||
{{FuncSyntax|GetAllTimers()}} | {{FuncSyntax|GetAllTimers()}} | ||
Line 8: | Line 8: | ||
{{FuncNoParam}} | {{FuncNoParam}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns a table of all timer identifiers.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
local timers = GetAllTimers() | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:TimerFunctions}} |
Latest revision as of 23:12, 18 March 2020
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()