Any of the following prototypes will work for a timed function.
function Action(Handle timer, any data)
Called when the timer interval has elapsed.
Handle to the timer object.
Handle or value passed to CreateTimer() when timer was created.
Plugin_Stop to stop a repeating timer, any other value for default behavior. Ignored for non-repeating timers (use void return type).
function void(Handle timer, any data)
Called when the timer interval has elapsed. For repeating timers, use the callback with return value.
Handle to the timer object.
Handle or value passed to CreateTimer() when timer was created.
function Action(Handle timer)
Called when the timer interval has elapsed.
Handle to the timer object.
Plugin_Stop to stop a repeating timer, any other value for default behavior. Ignored for non-repeating timers (use void return type).
function void(Handle timer)
Called when the timer interval has elapsed. For repeating timers, use the callback with return value.
Handle to the timer object.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.