Witam.
Ot?? mam problem z przyciskiem do nowego okna GUI.
Chodzi mi o to ?e jak klikniemy w przycisk (LABEL) to powinno nam zamkn?? okno nr.1 a wy?wietli? okno nr.2 i tutaj jest problem w tym ?e nie wywala mi b??du a okno nr.2 si? nie wy?wietla oto niezb?dny kod:
[code]
GUIEditor = {
staticimage = {},
label = {},
background = {},
edit = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.background[1] = guiCreateStaticImage(400, 450, 480, 330, ":egui/images/examples/shruk.png", false)
guiSetAlpha(GUIEditor.background[1], 0.80)
GUIEditor.background[2] = guiCreateStaticImage(400, 450, 480, 330, ":egui/images/examples/shruk.png", false)
guiSetAlpha(GUIEditor.background[2], 0.80)
GUIEditor.background[3] = guiCreateStaticImage(400, 450, 480, 330, ":egui/images/examples/shruk.png", false)
guiSetAlpha(GUIEditor.background[3], 0.80)
--Zawarto?? logowania--
GUIEditor.label[1] = guiCreateLabel(143, 83, 194, 18, "Login", false, GUIEditor.background[1])
guiSetFont(GUIEditor.label[1], "default-bold-small")
GUIEditor.edit[1] = guiCreateEdit(133, 101, 214, 32, "", false, GUIEditor.background[1])
GUIEditor.label[2] = guiCreateLabel(143, 153, 194, 18, "Has?o", false, GUIEditor.background[1])
guiSetFont(GUIEditor.label[2], "default-bold-small")
GUIEditor.e... |