finished (?)
This commit is contained in:
17
test.lua
17
test.lua
@@ -1,7 +1,22 @@
|
||||
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
||||
fps = 60
|
||||
duration = 5
|
||||
menu.add_feature(
|
||||
"test",
|
||||
"action",
|
||||
0,
|
||||
function() return ui.notify_above_map("Hello from TypeScript", "", 140) end
|
||||
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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user