Garry's Mod Wiki

coroutine.wait

coroutine.wait( number duration )

Description

Yields the coroutine for the given duration before continuing.

This only works inside a coroutine.

This function uses CurTime instead of RealTime.

Arguments

1 number duration
The number of seconds to wait

Page Links


Special Pages


Wikis

?

Render Time: 29ms

Session 0
DB GetPage 5
Generate Html 2
SaveChanges 7
Render Body 0
Render Sidebar 12