VTX Posted October 13, 2012 Posted October 13, 2012 Hi! I built a new map, and I would like to hide the clouds. I'm sure it's possible, but I don't know how to do that. Please help me.
Castillo Posted October 13, 2012 Posted October 13, 2012 setCloudsEnabled San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
VTX Posted October 15, 2012 Author Posted October 15, 2012 Sorry for doublepost, but somebody would do it?
Castillo Posted October 15, 2012 Posted October 15, 2012 Create a .lua file and a meta.xml and you put: -- lua file: addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) setCloudsEnabled ( false ) end ) -- meta.xml: San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Moderators IIYAMA Posted October 22, 2012 Moderators Posted October 22, 2012 or you can do:(the way I always stop the clouds) 1: login as admin. 2: /start runcode 3: /srun setCloudsEnabled ( false ) --> the command isn't visible for other players, but the clouds are gone for everybody. /run setCloudsEnabled ( false ) Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Castillo Posted October 22, 2012 Posted October 22, 2012 It works, thank you very much! You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now