getCloudsEnabled | Multi Theft Auto: Wiki Skip to content

getCloudsEnabled

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


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

Syntax

getCloudsEnabled ( )

Code Examples

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

See Also

World Functions