Skip to content

SetPlayerRain

The most rain one player sees, wherever they stand.

Over the areas’ (SetAreaRain); nil hands it back to them. The world’s rain (SetRain) stays everyone else’s.

SetPlayerRain(pid, amount)
Parameter Type
pid number the player
amount number|nil 0 .. 1, or nil

boolean - false when the player is not connected

SetPlayerRain(pid, 0) -- a vision without the storm

GetPlayerRain · SetAreaRain · the The map’s areas group of the index