- 0
Coroutine don't work
-
Similar Content
-
- 0 replies
- 173 views
-
- 8 answers
- 1,502 views
-
- 2 answers
- 1,351 views
-
- 1 answer
- 417 views
-
- 82 replies
- 207,174 views
-
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
Zeps
So I'm using threads and some how it doesn't work?
local detect_thread = coroutine.create(function()
while detectionOn do
if gg.isVisible(true) then
local stop = gg.alert("
Stop Detection?", "Yes", "No")
if stop == 1 then
detectionOn = false
gg.toast("Detection stopped.")
break
else
gg.setVisible(false)
end
end
local detect_thread = coroutine.create(function()`
attempt to index ? (a nil value) with key 'create' (global 'coroutine')
level = 1, const = 7, proto = 1, upval = 5, vars = 3, code = 23
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now