- Documentation
- Server functions
- setCloudsEnabled
Function
setCloudsEnabled
Turns clouds on or off. The value is stored for compatibility with existing scripts (getCloudsEnabled) but does not change the in-game sky yet.
Syntax
bool setCloudsEnabled(bool enabled)Arguments
enabledbooltrue= clouds.
Returns
true on success.
Example
setCloudsEnabled(false)