screenWidth, screenHeight = guiGetScreenSize()windowWidth, windowHeight = 510, 720left = (screenWidth/2) - (windowWidth/2)top = (screenHeight/2) - (windowHeight/2)image = guiCreateStaticImage(left, top, 510, 720, \"login.png\", false) nick = guiCreateEdit(93,149, 346, 43, \"\", false, image) pw = guiCreateEdit(93,247, 346, 43, \"\", false, image) register = guiCreateButton(170,333, 184, 73.33, \"Reg\", false, image) login = guiCreateButton(170,442, 184, 73.33, \"Log\", false, image)image)
local screenX, screenY = guiGetScreenSize()local bgWidth, bgHeight = 500, 500 --tesztháttér méretelocal bgX, bgY = screenX / 2 - bgWidth / 2, screenY / 2 - bHeight - 2
nick = guiCreateEdit(left-346,top+128, 346, 40, \"\", false, image) pw = guiCreateEdit(left+93,top+247, 346, 43, \"\", false, image)