SetWeather: Difference between revisions
Jump to navigation
Jump to search
(→Syntax) |
No edit summary |
||
Line 7: | Line 7: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''id''': The new weather id (range 0-19) | |||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua">setWeather ( 9, 9 ) | |||
serverChat ( "Weather changed to foggy!" )</syntaxhighlight> |
Revision as of 02:25, 18 May 2006
Description
This function sets the current weather id to the given value.
Syntax
bool setWeather ( int id )
Required Arguments
- id: The new weather id (range 0-19)
Example
setWeather ( 9, 9 ) serverChat ( "Weather changed to foggy!" )