hi everyone!
just wondering if there is a way to check whether addEvent has been initialized and is currently running, example:
just wondering if there is a way to check whether addEvent has been initialized and is currently running, example:
LUA:
if (test) then -- "test" is not a boolean so I cannot do that :(
stopEvent(test)
end
local test = addEvent(
function()
-- my function goes here
end, 15000)