addEventHandler("onClientResourceStart", resourceRoot,
function kayıt()
local screenW, screenH = guiGetScreenSize()
Kayıtol = guiCreateWindow((screenW - 348) / 2, (screenH - 180) / 2, 348, 180, "Kayıt Ol", false)
guiWindowSetSizable(Kayıtol, false)
GUIEditor.label[1] = guiCreateLabel(10, 26, 110, 15, "UserNAME :", false, Kayıtol)
guiSetFont(GUIEditor.label[1], "default-bold-small")
guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false)
guiLabelSetVerticalAlign(GUIEditor.label[1], "center")
GUIEditor.label[2] = guiCreateLabel(10, 63, 110, 15, "Password :", false, Kayıtol)
guiSetFont(GUIEditor.label[2], "default-bold-small")
guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false)
guiLabelSetVerticalAlign(GUIEditor.label[2], "center")
GUIEditor.label[3] = guiCreateLabel(10, 102, 110, 15, "Password :", false, Kayıtol)
guiSetFont(GUIEditor.label[3], "default-bold-small")
guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false)
guiLabelSetVerticalAlign(GUIEditor.label[3], "center")
GUIEditor.edit[1] = guiCreateEdit(134, 18, 200, 33, "", false, Kayıtol)
GUIEditor.edit[2] = guiCreateEdit(134, 55, 200, 33, "", false, Kayıtol)
GUIEditor.edit[3] = guiCreateEdit(134, 94, 200, 33, "", false, Kayıtol)
girişyap = guiCreateButton(15, 131, 119, 41, "Giriş Yap", false, Kayıtol)
guiSetProperty(girişyap, "NormalTextColour", "FFAAAAAA")
Kayıt = guiCreateButton(215, 131, 119, 41, "Register", false, Kayıtol)
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA")
end
)
function login()
local screenW, screenH = guiGetScreenSize()
window = guiCreateWindow((screenW - 348) / 2, (screenH - 181) / 2, 348, 181, "RPG : Login Panel", false)
guiWindowSetSizable(window, false)
GUIEditor.label[1] = guiCreateLabel(10, 41, 117, 15, "User Name:", false, window)
guiSetFont(GUIEditor.label[1], "default-bold-small")
guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false)
guiLabelSetVerticalAlign(GUIEditor.label[1], "center")
GUIEditor.label[2] = guiCreateLabel(10, 83, 117, 15, "Password:", false, window)
guiSetFont(GUIEditor.label[2], "default-bold-small")
guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false)
guiLabelSetVerticalAlign(GUIEditor.label[2], "center")
GUIEditor.edit[1] = guiCreateEdit(126, 30, 197, 36, "", false, window)
GUIEditor.edit[2] = guiCreateEdit(127, 76, 197, 36, "", false, window)
girişyap = guiCreateButton(15, 131, 111, 38, "login", false, window)
guiSetProperty(girişyap, "NormalTextColour", "FFAAAAAA")
KayıtOl = guiCreateButton(213, 129, 111, 38, "Register", false, window)
guiSetProperty(KayıtOl, "NormalTextColour", "FFAAAAAA")
showCurusor(true)
addEventHandler("onClientGUIClick",kayıt,function()
end
----------------------------------------------------------------------By the way, thanks------------------------------------------------------------------------------------------------------------