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.
Syntax
Section titled “Syntax”SetPlayerRain(pid, amount)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
amount |
number|nil | 0 .. 1, or nil |
Returns
Section titled “Returns”boolean - false when the player is not connected
Example
Section titled “Example”SetPlayerRain(pid, 0) -- a vision without the stormSee also
Section titled “See also”GetPlayerRain · SetAreaRain · the The map’s areas group of the index
