Garry's Mod Wiki

util.Timer

util.Timer

  table util.Timer( number startdelay = 0 )

Description

Creates a timer object.

Arguments

1 number startdelay = 0
How long you want the timer to be.

Returns

1 table
A timer object. It has next methods:

Reset() - Resets the timer to nothing

Start( time ) - Starts the timer, call with end time

Started() - Returns true if the timer has been started

Elapsed() - Returns true if the time has elapsed

Special Pages


Wikis

?

Render Time: 79ms

DB GetPage 58
Generate Html 3
SaveChanges (1) 8
Render Body 0
Render Sidebar 8