AlvareZ_ Posted January 18, 2013 Share Posted January 18, 2013 yo cree una gui pero lo siguiente es q como aria par a q se abra con f1 y cierre con f1 Link to comment
Castillo Posted January 18, 2013 Share Posted January 18, 2013 bindKey guiGetVisible guiSetVisible Link to comment
AlvareZ_ Posted January 18, 2013 Author Share Posted January 18, 2013 mira me anda pero al cargar el resource se abre, solo quiero q abra al presionar f1 function abrir () if ( guiGetVisible ( GUIEditor.window[1] ) == true ) then -- check if the gui element is visible guiSetVisible ( GUIEditor.window[1], false ) -- if it is, we hide it else guiSetVisible ( GUIEditor.window[1], true ) -- if not, we make it visible end end bindKey ( "f1", "down", abrir ) Link to comment
Castillo Posted January 18, 2013 Share Posted January 18, 2013 Despues de guiCreateWindow pone: guiSetVisible ( GUIEditor.window[1], false ) Link to comment
AlvareZ_ Posted January 18, 2013 Author Share Posted January 18, 2013 Listo, Muchas Gracias Link to comment
Recommended Posts