Advertisement
Joroppo

set Home

Oct 22nd, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. if fs.exists("House") then
  2.   shell.run("rm House")
  3. end
  4. print("Je met ici comme maison.")
  5. local x, y ,z = gps.locate(2)
  6. h = fs.open("House", "w")
  7. h.writeLine(x)
  8. h.writeLine(y)
  9. h.writeLine(z)
  10. h.close()
  11. print("x : "..tostring(x))
  12. print("y : "..tostring(y))
  13. print("z : "..tostring(z))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement