Update 'TylerTracker.lua'
This commit is contained in:
		@@ -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
 | 
				
			||||||
		Reference in New Issue
	
	Block a user