lua:fps
This commit is contained in:
parent
7cc54ca85d
commit
97dfab5702
10
lua/fps/main.lua
Normal file
10
lua/fps/main.lua
Normal file
@ -0,0 +1,10 @@
|
||||
fps = 0
|
||||
time = os.time()
|
||||
while true do
|
||||
if os.time() - time > 1 then
|
||||
print (fps)
|
||||
break
|
||||
end
|
||||
fps = fps + 1
|
||||
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user