coroutine.wait

From Garry's Mod
Jump to: navigation, search
 coroutine.wait( )

Description

Yields the coroutine for the given duration before continuing.

This only works inside a coroutine.

This function uses CurTime instead of RealTime.

Arguments

number duration

The number of seconds to wait
Personal tools
Navigation