GUIEditor = {
window = {},
staticimage = {}
}
function LoadGUI ( )
GUIEditor.window[1] = guiCreateWindow(100, 107, 586, 276, "welcome to mtabh server ", false)
guiWindowSetSizable(GUIEditor.window[1], false)
GUIEditor.staticimage[1] = guiCreateStaticImage(9, 19, 567, 247, "1.png", false, GUIEditor.window[1])
GUIEditor.button[1] = guiCreateButton(4, 229, 69, 18, "اغلاق", false, GUIEditor.staticimage[1])
addEventHandler('onClientGUIClick',GUIEditor.button[1],HideGUI,false)
end
addEventHandler('onClientResourceStart',resourceRoot, function ( ) LoadGUI ( ) end )
function HideGUI ( )
if isElement ( GUIEditor.window[1] ) then
guiSetVisible ( GUIEditor.window[1],false )
showCursor ( false )
end
end