SHOW:
|
|
- or go back to the newest paste.
1 | - | local component = require("component") |
1 | + | local component = require("component") |
2 | - | local gpu = component.gpu |
2 | + | local gpu = component.gpu |
3 | - | local w,k = gpu.maxResolution() |
3 | + | local w,k = gpu.maxResolution() |
4 | - | print (w, k) |
4 | + | print (w, k) |
5 | - | gpu.setResolution(20, 1) |
5 | + | gpu.setResolution(20, 1) |
6 | - | |
6 | + | |
7 | - | gpu.setForeground(0x000000) |
7 | + | gpu.setForeground(0x000000) |
8 | - | gpu.fill(1, 1, 50, 25 , " ") |
8 | + | gpu.fill(1, 1, 50, 25 , " ") |
9 | - | gpu.setForeground(0x00FF19) |
9 | + | gpu.setForeground(0x00FF19) |
10 | - | |
10 | + | |
11 | - | while true do |
11 | + | while true do |
12 | - | gpu.set(1, 1, "Премиум пользователи") |
12 | + | gpu.set(1, 1, "Премиум пользователи") |
13 | - | os.sleep(10) |
13 | + | os.sleep(10) |
14 | end |