IsValidTimer

From Onset Developer Wiki
IsValidTimer

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Check if the timer identifier specified is valid or not.

Syntax

IsValidTimer(timer)

Parameters

  • timer
    The timer identifier.

Return Value

  • Returns true on success.

Example

if IsValidTimer(timerid) then
	return print("The specified timer id is valid.")
end

See also