SetWeather: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→Syntax) |
||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
bool [[setWeather]] ( int | bool [[setWeather]] ( int id ) | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''id''': The new weather id (range 0-19) | ||
==Example== | ==Example== | ||
[[setWeather]] ( 9, 9 ) | [[setWeather]] ( 9, 9 ) | ||
[[serverChat]] ( "Weather changed to foggy!" ) | [[serverChat]] ( "Weather changed to foggy!" ) |
Revision as of 17:31, 8 April 2006
Description
This function sets the current primary and secondary weather to the given values.
Syntax
bool setWeather ( int id )
Required Arguments
- id: The new weather id (range 0-19)
Example
setWeather ( 9, 9 ) serverChat ( "Weather changed to foggy!" )