NodZen Posted May 28, 2012 Share Posted May 28, 2012 (edited) Amigos , hice este script para que cuando el player entra al servidor , aparezca una "intro" que es una imagen. Pero cuando aprieto el bindKey no se cierra.... Fijense que està mal function showClientImage() myImage = guiCreateStaticImage( 0.0,0.0,1279.0,767.0, "images/intro.png", true ) end addEventHandler( "onClientResourceStart", resourceRoot, showClientImage ) function hideClientImage() if isElement ( myImage ) then destroyElement ( myImage ) end end bindKey("space", "down", hideClientImage) Gracias. Edited May 28, 2012 by Guest Link to comment
Castillo Posted May 28, 2012 Share Posted May 28, 2012 Tema movido a "Scripting". @On topic: Yo no veo nada mal en tu script, deberia destruir la imagen si esta existe. Link to comment
Recommended Posts