This repository has been archived by the owner on Nov 19, 2022. It is now read-only.
Release server/1.1.2.51-dev
Shared:
- Add
createThread
andwait
functions.
Example usage:
alt.createThread(function()
alt.log("message 1")
alt.wait(2000) --you can either wait specified milliseconds
alt.log("message 2")
alt.wait(native.isScreenFadedOut) --wait for a function to return true
alt.log("message 3")
alt.wait(native.hasSoundFinished, 10) --also you can pass arguments to the function
alt.log("message 4")
end)