Guest User

Untitled

a guest
Oct 20th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. rednet.open("right")
  2. x, y, z = gps.locate(1, false)
  3. x1 = string.sub(x, 1, 40)
  4. y1 = string.sub(y, 1, 40)
  5. z1 = string.sub(z, 1, 40)
  6. rednet.send(9, "X:" .. x1 .. " ".. "Y:" .. y1 .. " " .. "Z:" .. z1)
Add Comment
Please, Sign In to add comment