Answers for "sleep function lua"

Lua
2

sleep function lua

local clock = os.clock
function sleep(n)  -- seconds
  local t0 = clock()
  while clock() - t0 <= n do end
end
Posted by: Guest on June-01-2020
0

how to wait lua

wait(1)
Posted by: Guest on April-18-2020

Browse Popular Code Answers by Language