GUIEditor = {
button = {},
window = {}
}
GUIEditor.window[1] = guiCreateWindow(443, 85, 550, 456, "", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetAlpha(GUIEditor.window[1], 1.00)
guiSetVisible (GUIEditor.window[1], false )
GUIEditor.button[1] = guiCreateButton(9, 65, 230, 37, "Goood", false, GUIEditor.window[1])
GUIEditor.button[2] = guiCreateButton(9, 402, 230, 37, "", false, GUIEditor.window[1])
GUIEditor.button[3] = guiCreateButton(187, 214, 298, 41, "", false, GUIEditor.window[1])
addEventHandler("onClientGUIClick",root,
function ( )
if ( source == GUIEditor.button[1] ) then
setWeather ( 9 )
end
end )
function OpenWin()
guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])
showCursor(guiGetVisible( GUIEditor.window[1])
guiSetInputEnabled(true)
end
bindKey("F2", "down", OpenWin)