1
2
3
2
3
file = io.open("sys/lua/"..UsgnIds[id]..'.txt', "w+") or io.tmpfile() file:write("test") file:close()
1
test
1
2
2
test test
So how can I do it?
file = io.open("sys/lua/"..UsgnIds[id]..'.txt', "w+") or io.tmpfile() file:write("test") file:close()
test
test test
file:write("test\n")