diff --git a/Timer.md b/Timer.md index 911d385..eca575e 100644 --- a/Timer.md +++ b/Timer.md @@ -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); ``` --- \ No newline at end of file