er2.setSnowing 73
Activates the snow on the map.
To synchronize the weather changes to other clients you can use synchWeather.
Return value
Return Type | Description |
---|---|
void | This function doesn't return anything |
No parameters defined for this function.
Examples
Example 107
er2.setSnowing() -- Will start snowing on the map
Set weather and snow, synched online
er2.setTimeAndWeather(17, 20, 0.5, 0.6, 0.4) -- Set 5:20 PM with cloudy sky, some rain on the ground and some fog
er2.setSnowing() -- set snow falling from the sky
er2.synchWeather() -- apply set weather to all clients, including future connecting ones