Skip to content
OliverF edited this page Aug 16, 2014 · 1 revision

Registers a callback function to be executed at a specified interval. The timer repeats until RSAS.Timer.Unregister is called.

Syntax

nil RSAS.Timer.Hook(string id, number delay, function callback)

Returns

  1. nil

Arguments

  1. string id
    Identification string of the timer.
  2. number delay
    Delay interval in milliseconds.
  3. function callback
    The function to be called after the specified interval.

Clone this wiki locally