1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Updated Timer (markdown)

Robert Beekman 2017-01-01 13:22:25 +01:00
parent a96e966a51
commit 0ba9d6c122

@ -40,13 +40,21 @@ Timer.SetTimer(timedPrint, 1000, 5, "Hello! ");
```
---
### StopTimer
TODO
#### Syntax:
Stops an existing timer.
```lua
TODO
StopTimer(timer timer);
```
##### Required arguments
- **timer:** The timer to stop
#### Example:
```lua
TODO
local helloTimer;
function timedHello()
print("Hello!");
-- Stop the timer after running once
Timer.StopTimer(helloTimer);
end
helloTimer = Timer.SetTimer(timedHello, 1000, 5);
```
---