Skip to main content

client.delay_call

Executes the callback after delay seconds, passing the arguments to it.

client.delay_call(delay: number, callback, ...)

Arguments

NameDescriptionType
delayTime in seconds to wait before calling callback.number
callbackThe lua function that will be called after delay seconds.function
argsArguments that will be passed to the callback.unknown