Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- zjisti aktuální souradnice
- local x,y,z = gps.locate(5, debug)
- if not x then --If gps.locate didn't work, it won't return anything. So check to see if it did.
- print("Failed to get my location!")
- else
- --This prints 'I am at (1, 2, 3)' or whatever your coordinates are
- print("I am at (" .. x .. ", " .. y .. ", " .. z .. ")")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement