- Documentation
- Server functions
- resetRainLevel
Function
resetRainLevel
Restores the default rain level (0).
Syntax
bool resetRainLevel()Returns
true on success.
Example
resetRainLevel()
See also
setRainLevelSets the rain level 0-10. The value is stored for compatibility with existing scripts (getRainLevel) but does not change the in-game rain; rain comes from the weather (setWeather).getRainLevelReturns the rain level stored withsetRainLevel(0 by default). Works on the server and the client.