ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setCloudsEnabled

Function

setCloudsEnabled

ServerMiscellaneousIdentical to MTA:SA

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

enabledbool
true = clouds.

Returns

true on success.

Example

setCloudsEnabled(false)

See also