GetAllTimers: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server & Client|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()