Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 6