Serene Posted December 12, 2021 Posted December 12, 2021 Hi, My question is,how to remove the clouds? Thanks for your time!
Vampire Posted December 12, 2021 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.
Serene Posted December 12, 2021 Author 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!
Human Resources Staff Vinyard Posted December 12, 2021 Human Resources Staff 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
Hydra Posted December 13, 2021 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)
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