Garry's Mod Wiki


  boolean timer.Adjust( any identifier, number delay, number repetitions = nil, function func = nil )


Adjusts the timer if the timer with the given identifier exists.


1 any identifier
Identifier of the timer to adjust.
2 number delay
The delay interval in seconds. Must be specified.
3 number repetitions = nil
Repetitions. Use 0 for infinite or nil to keep previous value.
4 function func = nil
The new function. Use nil to keep previous value.


1 boolean
true if succeeded.