Jump to content

How to hide clouds?


VTX

Recommended Posts

Posted

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.

Posted

Create a .lua file and a meta.xml and you put:

-- lua file:

addEventHandler ( "onClientResourceStart", resourceRoot, 
    function ( ) 
        setCloudsEnabled ( false ) 
    end 
) 

-- meta.xml:

    

  • Moderators
Posted

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 )

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...