LUA - Is Citizen.SetTimeout() asynchronous?

Is Citizen.SetTimeout() asynchronous?

Just a quick question, thanks!

Wherever you define that Citizen.SetTimeout() it’ll run within that resource/script; with the given timeout / msec you provided it, along with that specific task execution you’re going to timeout and loop again once that timeout has completed, so theoretically yes, not really sure what you mean by asyonchronous. With lua, threads are executed one at a time, however, since lua has coroutines, this allows for other threads to complete their own tasks.