Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- textTable={
- "NanoTech Floors : ",
- "",
- "Ground Floor :",
- " Information Floor",
- "Second Floor :",
- " Craftable Items Sales",
- "Third Floor :",
- " Pre-made Programs Sales",
- }
- m=peripheral.wrap("top")
- s=peripheral.wrap("right")
- function writeText()
- m.setCursorPos(1,1)
- m.clear()
- m.setTextScale(1)
- --[[nearPlayers=s.getPlayerNames()
- --print(nearPlayers)
- --print(nearPlayers[1])
- if nearPlayers[1]~=nil then
- print(nearPlayers)
- nearPlayers=nearPlayers[1]
- m.write("Hello ")
- m.setTextColor(32)
- m.write(nearPlayers)
- m.setTextColor(1)
- end]]
- for line,text in ipairs(textTable) do
- m.setCursorPos(1,line)
- m.write(text)
- end
- end
- writeText()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement