GetCloudsEnabled

From Multi Theft Auto: Wiki
Revision as of 18:34, 7 March 2010 by PoliticalOrel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This function will tell you if clouds are enabled or disabled.

Syntax

bool getCloudsEnabled ()

Returns

Returns true if the clouds are enabled or false if clouds are disabled.

Example

function areCloudsVisible()
  if getCloudsEnabled() then
    outputChatBox("Clouds are visible.")
  else
    outputChatBox("Clouds are not visible.")
  end
end
addCommandHandler("clouds", areCloudsVisible)

See Also

Shared