Posted 14 April 2013 - 09:38 PM
                i am having a problem with my building API
it says:lua:52:attempt to index(a nil value).
the API is called building.
code:
                
            it says:lua:52:attempt to index(a nil value).
the API is called building.
code:
function floorLine(length)
for i=1,length do
  turtle.placeDown()
  turtle.forward()
end
end
function wallLine(hight)
for i=1,hight do
  turtle.place()
  turtle.up()
end
end
function ceilingLine(length)
for i=1,length do
  turtle.placeUp()
  turtle.forward()
end
end