addEventHandler("onClientRender", root, function()
if gui == true then
button_login = gui:dgsCreateButton(885, 875, 150, 40, "Zaloguj", false, true, tocolor(200, 200, 200, 255), scale_x(1.00), scale_y(1.00), nil, nil, nil, tocolor(50, 50, 50, 255), tocolor(60, 60, 60, 255), tocolor(30, 30, 30, 255))
gui:dgsSetFont(button_login, font_9)
editbox_username = gui:dgsCreateEdit(0.5, 0.5, 0.2, 0.04, "", true, true, tocolor(200, 200, 200, 255), scale_x(1.00), scale_y(1.00), nil, tocolor(60, 60, 60, 255))
gui:dgsSetFont(editbox_username, font_11)
editbox_password = gui:dgsCreateEdit(885, 500, 200, 40, "", false, true, tocolor(200, 200, 200, 255), scale_x(1.00), scale_y(1.00), nil, tocolor(60, 60, 60, 255))
gui:dgsSetFont(editbox_password, font_9)
gui:dgsSetProperty(editbox_password, "masked", true)
end
end)