Please help is that good code :
GUIEditor = {
tab = {},
tabpanel = {},
button = {},
window = {},
memo = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(327, 160, 664, 518, "CIP Updates ", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetAlpha(GUIEditor.window[1], 1.00)
guiSetProperty(GUIEditor.window[1], "Visible", "False")
guiSetProperty(GUIEditor.window[1], "Text", "CIP Updates ")
GUIEditor.tabpanel[1] = guiCreateTabPanel(9, 204, 645, 304, false, GUIEditor.window[1])
GUIEditor.tab[1] = guiCreateTab("Updates", GUIEditor.tabpanel[1])
GUIEditor.memo[1] = guiCreateMemo(0, 1, 645, 278, "", false, GUIEditor.tab[1])
GUIEditor.memo[2] = guiCreateMemo(0, 1, 645, 278, "Thursday, September 10, 2015\nAdd updates panel use /updates to open it \nAdded gun shop ", false, GUIEditor.tab[1])
guiMemoSetReadOnly(GUIEditor.memo[2], true)
GUIEditor.button[1] = guiCreateButton(514, 193, 140, 37, "Close", false, GUIEditor.window[1])
end
)
addEventHandler("onClientRender", root,
function()
dxDrawText("", 913, 183, 982, 200, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
end
)addCommandHandler('updates', function()
guiSetVisible(WINDOW, true)
end)