The "timer_get_time" Function
#
SyntaxArgument | Type | Description |
---|---|---|
id | string | The unique timer ID to check, as a string |
[instance] | instance | Optional: Sets the object instance containing the timer to check (use none for self ) |
#
DescriptionReturns the time remaining for the timer running in the current or specified instance, as a value of seconds. If the instance or timer does not exist, -1
will be returned instead.