GetCloudsEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
==Example==  
==Example==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
--TODO
function areCloudsVisible()
  if getCloudsEnabled() then
    outputChatBox("Clouds are visible.")
  else
    outputChatBox("Clouds are not visible.")
  end
end
addCommandHandler("clouds", areCloudsVisible)
</syntaxhighlight>
</syntaxhighlight>


==See Also==
==See Also==
{{World functions}}
{{World functions}}
[[Category:Needs Example]]
 
[[ru:getCloudsEnabled]]

Latest revision as of 18:34, 7 March 2010