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