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: 63ms

DB GetPage 43
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 7