SetWeather: Difference between revisions
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua">setWeather ( | <syntaxhighlight lang="lua">setWeather ( 9 ) | ||
outputChatBox ( "Weather changed to foggy!" )</syntaxhighlight> | outputChatBox ( "Weather changed to foggy!" )</syntaxhighlight> |
Revision as of 08:12, 20 May 2006
Description
This function sets the current weather id to the given value.
Syntax
setWeather ( id )
Required Arguments
- id: The new weather id (range 0-19)
Example
setWeather ( 9 ) outputChatBox ( "Weather changed to foggy!" )