Serene Posted December 12, 2021 Share Posted December 12, 2021 Hi, My question is,how to remove the clouds? Thanks for your time! Link to comment
Vampire Posted December 12, 2021 Share Posted December 12, 2021 I assume you can enable/disable clouds with setCloudsEnabled: https://wiki.multitheftauto.com/wiki/SetCloudsEnabled You can get better help about this suject in the Scripting section. Link to comment
Serene Posted December 12, 2021 Author Share Posted December 12, 2021 8 minutes ago, Vampire said: I assume you can enable/disable clouds with setCloudsEnabled: https://wiki.multitheftauto.com/wiki/SetCloudsEnabled You can get better help about this suject in the Scripting section. Thanks so much! I'll take a look at that section! Link to comment
Moderators Vinyard Posted December 12, 2021 Moderators Share Posted December 12, 2021 Hi, I'll be moving this to the scripting section so other people that are looking for a solution might be able to find it more easily. 1 Link to comment
Hydra Posted December 13, 2021 Share Posted December 13, 2021 function disableClouds() setCloudsEnabled(false) end addEventHandler("onClientResourceStart", resourceRoot, disableClouds) or put setCloudsEnabled(false) directly at the beginning of the code. also you can make it with command: local cloudsState = false function clouds() if cloudsState == false then cloudsState = true setCloudsEnabled(true) elseif cloudsState == true then cloudsState = false setCloudsEnabled(false) end end addCommandHandler("clouds", clouds) Link to comment
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