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