Update 'TylerTracker.lua'
This commit is contained in:
parent
119c0c4ac5
commit
16b4041d2b
@ -10,6 +10,11 @@ main.write("Le Garvie Tracker")
|
||||
main.setVisible(true)
|
||||
while true do
|
||||
local pos = player.getPlayerPos("Garvage")
|
||||
if pos == nil then
|
||||
main.setCursorPos(1,2)
|
||||
main.clearLine()
|
||||
main.write("Player cannot be found currently.")
|
||||
else
|
||||
main.setCursorPos(1,2)
|
||||
main.clearLine()
|
||||
main.write("X: " .. pos.x)
|
||||
@ -19,5 +24,6 @@ while true do
|
||||
main.setCursorPos(1,4)
|
||||
main.clearLine()
|
||||
main.write("Z: " .. pos.z)
|
||||
end
|
||||
sleep(1)
|
||||
end
|
Loading…
Reference in New Issue
Block a user