zell Posted June 29, 2012 Posted June 29, 2012 quiero hacer un boton para que las nubes desaparescan y aparescan en la ventana de F1 de freeroam, como le ago nubes function areCloudsVisible() if getCloudsEnabled() then outputChatBox("nubes activadas.") else outputChatBox("nubes desactivadas.") end end addCommandHandler("nubes", areCloudsVisible)
Castillo Posted June 30, 2012 Posted June 30, 2012 function areCloudsVisible ( ) setCloudsEnabled ( not getCloudsEnabled ( ) ) outputChatBox ( "nubes ".. getCloudsEnabled ( ) and "activadas" or "desactivadas" .."." ) end addCommandHandler ( "nubes", areCloudsVisible ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts