local x, y = guiGetScreenSize()
if x == 640 and y == 480 then
login["window"] = guiCreateStaticImage(20, 40, 600, 400, "img/window.png", false)
end
if x == 720 and y == 480 then
login["window"] = guiCreateStaticImage(60, 40, 600, 400, "img/window.png", false)
end
if x == 720 and y == 576 then
login["window"] = guiCreateStaticImage(60, 88, 600, 400, "img/window.png", false)
end
if x == 800 and y == 600 then
login["window"] = guiCreateStaticImage(100, 100, 600, 400, "img/window.png", false)
end
if x == 1024 and y == 768 then
login["window"] = guiCreateStaticImage(212, 184.5, 600, 400, "img/window.png", false)
end
if x == 1152 and y == 864 then
login["window"] = guiCreateStaticImage(276, 232, 600, 400, "img/window.png", false)
end
if x == 1280 and y == 720 then
login["window"] = guiCreateStaticImage(340, 170, 600, 400, "img/window.png", false)
end
if x == 1280 and y == 768 then
login["window"] = guiCreateStaticImage(340, 184, 600, 400, "img/window.png", false)
end
if x == 1280 and y == 800 then
login["window"] = guiCreateStaticImage(340, 200, 600, 400, "img/window.png", false)
end
if x == 1280 and y == 960 then
login["window"] = guiCreateStaticImage(340, 280, 600, 400, "img/window.png", false)
end
if x == 1280 and y == 1024 then
login["window"] = guiCreateStaticImage(340, 312, 600, 400, "img/window.png", false)
end
if x == 1440 and y == 900 then
login["window"] = guiCreateStaticImage(420, 250, 600, 400, "img/window.png", false)
end
na to?:
local x, y = guiGetScreenSize()
login["window"] = guiCreateStaticImage(x*340/1280, y*170/720, x*600/1280, y*400/720, "img/window.png", false)
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach