Garry's Mod Wiki

Garry's Mod Wiki

  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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...