GetRain
The rain every client shows.
Syntax
Section titled “Syntax”GetRain()Returns
Section titled “Returns”number - 0 .. 1: the weather’s own rain, or the amount SetRain forced
Example
Section titled “Example”if GetRain() > 0.5 then SendClientMessage(pid, COLOR_SERVER, "Mind the mud.") endSee also
Section titled “See also”SetRain · GetWeather · the The world - clock, weather, terrain, the navmesh, the geometry group of the index
