This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
当我尝试使用计时器更改变量值时,我正在报告问题。
实际上我正在使用以下代码来执行此操作:
local counter = math.random(100, 350)
local function changeCounterValue()
counter = math.random(130, 170)
end
tmr = timer.performWithDelay(1500, changeCounterValue, 0)