Created
April 6, 2017 05:46
-
-
Save sofar/17acc02aab7c50b53e7103795c465a59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local me | |
local function zz() | |
if not me then | |
print("waiting") | |
me = core.localplayer | |
else | |
print(minetest.pos_to_string(me:get_pos())) | |
end | |
minetest.after(1, zz) | |
end | |
minetest.after(1, zz) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment