local sx, sy = guiGetScreenSize()
local sw, sh = sx/1366, sy/768
addEventHandler("onClientRender", root,
function()
dxDrawImage((sx - 561) / 2, (sy - 431) / 2, sw*561, sh*431, "images/back.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawImage((sx - 517) / 2, (sy - 465) / 2, sw*332, sh*86, "images/button.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawImage((sx - 522) / 2, (sy - 459) / 2, sw*96, sh*96, "images/pay.png", 0, 0, 0, tocolor(0, 0, 0, 255), false)
dxDrawImage((sx - 520) / 2, (sy - 456) / 2, sw*96, sh*96, "images/pay.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawImage((sx - 906) / 2, (sy - 179) / 2, sw*48, sh*48, "images/deny.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawText("Контрольно-пропускной\nпункт", (sx - 539 - 1) / 2, (sy - 173 - 1) / 2, sw*827 - 1, sh*268 - 1, tocolor(0, 0, 0, 255), 2.50, "default", "center", "center", false, false, false, false, false)
dxDrawText("Контрольно-пропускной\nпункт", (sx - 539 + 1) / 2, (sy - 173 - 1) / 2, sw*827 + 1, sh*268 - 1, tocolor(0, 0, 0, 255), 2.50, "default", "center", "center", false, false, false, false, false)
dxDrawText("Контрольно-пропускной\nпункт", (sx - 539 - 1) / 2, (sy - 173 + 1) / 2, sw*827 - 1, sh*268 + 1, tocolor(0, 0, 0, 255), 2.50, "default", "center", "center", false, false, false, false, false)
dxDrawText("Контрольно-пропускной\nпункт", (sx - 539 + 1) / 2, (sy - 173 + 1) / 2, sw*827 + 1, sh*268 + 1, tocolor(0, 0, 0, 255), 2.50, "default", "center", "center", false, false, false, false, false)
dxDrawText("Контрольно-пропускной\nпункт", (sx - 539) / 2, (sy - 173) / 2, sw*827, sh*268, tocolor(255, 255, 255, 255), 2.50, "default", "center", "center", false, false, false, false, false)
dxDrawText("Оплатить проезд", (sx - 614) / 2, (sy - 480) / 2, sw*814, sh*534, tocolor(0, 0, 0, 255), 2.30, "default", "center", "center", false, false, false, false, false)
dxDrawText("Оплатить проезд", (sx - 614) / 2, (sy - 477) / 2, sw*814, sh*531, tocolor(255, 255, 255, 255), 2.30, "default", "center", "center", false, false, false, false, false)
dxDrawImage((sx - 517) / 2, (sy - 338) / 2, sw*332, sh*86, "images/button.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
dxDrawText("$", (sx - 665) / 2, (sy - 352) / 2, sw*691, sh*405, tocolor(0, 0, 0, 255), 4.00, "default", "center", "center", false, false, false, false, false)
dxDrawText("$", (sx - 663) / 2, (sy - 348) / 2, sw*689, sh*401, tocolor(255, 254, 254, 255), 4.00, "default", "center", "center", false, false, false, false, false)
end
)
try that i hope fit to all the resolution