Esto es todo el codigo el cual logre hacer pero no me funciona.
markerinicio = createMarker ( 2176, -1763, 13, "cylinder",1, 0, 0, 255, 255 )
function ventana()
Ventana = guiCreateWindow(156, 103, 471, 441, "Departamentos LS", false)
guiWindowSetSizable(Ventana, false)
imagen = guiCreateStaticImage(18, 28, 434, 243, ":guieditor/images/examples/mta-screen_2014-12-03_19-39-00.png", false, GUIEditor.window[1])
texto = guiCreateMemo(18, 282, 434, 123, "¿Cansado de vivir en la calle? Pues tengo una respuesta para ello.\n\nCompra un departamento en Departamentos LS y podras hacer tu sueño realidad.\n\n¡Solo por $25000 Podras conseguir un hogar!", false, GUIEditor.window[1])
guiMemoSetReadOnly(texto, true)
boton = guiCreateButton(348, 410, 104, 21, "Cerrar", false, GUIEditor.window[1])
guiSetProperty(boton, "NormalTextColour", "FFAAAAAA")
showCursor (true)
addEventHandler ("onClientGUIClick", Cerrar, SalirFuncion,false)
end
addEvent( "onGreeting", true )
addEventHandler( "onGreeting", localPlayer, ventana )
function SalirFuncion ()
showCursor (false)
guiSetVisible (Ventana, not guiGetVisible ( Ventana ) )
end