Garry's Mod Wiki

timer.Adjust

timer.Adjust

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

Description

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

Arguments

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

Returns

1 boolean
true if succeeded.

Special Pages


Wikis

?

Render Time: 59ms

DB GetPage 38
Generate Html 7
SaveChanges (1) 5
Render Body 0
Render Sidebar 6