Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print ("saving gps for 1")
- local x, y, z=gps.locate(5)
- local coords={
- ["x"]=x,
- ["y"]=y,
- ["z"]=z,
- }
- local f=fs.open("/gpscords" , "a")
- f.write(textutils.serialise(coords))
- f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement