AlvareZ_ Posted January 18, 2013 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
Castillo Posted January 18, 2013 Posted January 18, 2013 bindKey guiGetVisible guiSetVisible San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
AlvareZ_ Posted January 18, 2013 Author 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 )
Castillo Posted January 18, 2013 Posted January 18, 2013 Despues de guiCreateWindow pone: guiSetVisible ( GUIEditor.window[1], false ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted January 18, 2013 Posted January 18, 2013 De nada. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts