Admicos
Nether Yerlisi
- En iyi cevaplar
- 1
Kullanmak için functionlar hariç herşeyi main() functionuna koyun. sonra en alta benim snippet'i atın. Sonra _bsod isimli 15x8 resim yaratıp içine hatada gözükecek bir resim koyun. Gerisini programınıza bırakın 

Snippet:
(Kendi resminizi yapamıyorsanız resimdeki örneğin kodu)
Kod:
local x, y = term.getSize()
local ok, err = pcall(main)
if not ok then
term.setBackgroundColor(colors.blue)
term.clear()
term.setTextColor(colors.white)
term.setCursorPos(1, 1)
print("Program bir hata yuzunden coktu!\nHata assagidadir\n")
term.setBackgroundColor(colors.red)
print(err)
term.setBackgroundColor(colors.blue)
img = paintutils.loadImage("_bsod")
paintutils.drawImage(img, x-14, 1)
term.setCursorPos(1, y)
term.setBackgroundColor(colors.black)
term.clearLine()
end
(Kendi resminizi yapamıyorsanız resimdeki örneğin kodu)
Kod:
0000000000000
0 0
0 00 00 0
0 03 03 0
0 00000 0
0 0 0 0
0 0
-0000000000000
Son düzenleme: