--[[-------------------------------------------------
Notes:
> This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running.
To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there.
--]]-------------------------------------------------
GUIEditor = {
button = {},
staticimage = {},
edit = {},
label = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.staticimage[1] = guiCreateStaticImage(155, 64, 453, 444, ":guieditor/images/Kara.png", false)
GUIEditor.button[1] = guiCreateButton(68, 313, 130, 39, "Login", false, GUIEditor.staticimage[1])
GUIEditor.button[2] = guiCreateButton(247, 313, 130, 39, "Register", false, GUIEditor.staticimage[1])
GUIEditor.button[3] = guiCreateButton(156, 362, 130, 39, "Guest", false, GUIEditor.staticimage[1])
GUIEditor.label[1] = guiCreateLabel(48, 188, 98, 15, "Account :", false, GUIEditor.staticimage[1])
GUIEditor.label[2] = guiCreateLabel(48, 223, 98, 15, "Password :", false, GUIEditor.staticimage[1])
GUIEditor.edit[1] = guiCreateEdit(166, 180, 167, 29, "", false, GUIEditor.staticimage[1])
GUIEditor.edit[2] = guiCreateEdit(166, 219, 167, 29, "", false, GUIEditor.staticimage[1])
guiEditSetMasked(GUIEditor.edit[2], true)
GUIEditor.label[3] = guiCreateLabel(58, 68, 325, 41, "Welcome To Server", false, GUIEditor.staticimage[1])
guiSetFont(GUIEditor.label[3], "sa-gothic")
end
)