sizeX, sizeY = guiGetScreenSize()
rsx, rsy = sizeX/1280, sizeY/1024 -- Max Resolution
dxDrawRectangle(rsx*484, rsy*493, rsx*125, rsy*32, tocolor(0, 0, 0, 150), true)
dxDrawText(" Login", rsx*484, rsy*493, rsy*561, rsy*446, tocolor(255, 255, 255, 255), 0.80, myFont, "left", "top", false, false, true, false, false)
when i use that, it work fine but when i change resolution i see positions of dx has been changed