Garry's Mod Wiki

coroutine.wait

coroutine.wait

  coroutine.wait( number duration )

Description

Repeatedly yields the coroutine for the given duration before continuing.

Only works inside a coroutine. Only useful in nextbot coroutine think function.

This function uses CurTime instead of RealTime.

Arguments

1 number duration
The number of seconds to wait

Special Pages


Wikis

?

Render Time: 62ms

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