Advertisement
craftyoyo

gps

Oct 3rd, 2013
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. local x, y, z = gps.locate(5)
  2. if x == nil then
  3. print("Je suis perdu !")
  4. else
  5. print("Je suis en ",x," ",y," ",z)
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement