Files
2take1-scripts/ts-lua/dist/test.lua
2021-06-25 20:12:25 -05:00

23 lines
481 B
Lua

--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
fps = 60
duration = 5
menu.add_feature(
"test",
"action",
0,
function()
do
local i = 0
while i < (fps * duration) do
scriptdraw.draw_rect(
v2(0, 0),
v2(1, 1),
4294967295
)
system.wait(0)
i = i + 1
end
end
end
)